code: public void setVariableNotationPatterns(String... variableNotationPatterns) {
          this.variableNotationPatterns = Arrays.asList(variableNotationPatterns);
  
          String pattern = "(.*?)";
          allVariablesPattern = "((" + this.variableNotationPatterns.get(0) + ")";
          for (int i = 1; i < this.variableNotationPatterns.size(); i++) {
              allVariablesPattern += "|(" + this.variableNotationPatterns.get(i) + ")";
          }
          allVariablesPattern += ")";
          pattern += allVariablesPattern;
          regexPattern = Pattern.compile(pattern);
      }
docs: *
  Set the list of patterns for variable notations used in the provided translated strings
  
  @param variableNotationPatterns patterns as should be used in regex
  By default, these are set to: {@link #defaultVariableNotations}