public static List<SubstringReplacerMatchRule> matchRulesFromInternal(String matchReplaceDetails,Instances inputStructure,String statusMessagePrefix,Logger log,Environment env){
  List<SubstringReplacerMatchRule> matchRules=new ArrayList<SubstringReplacerMatchRule>();
  String[] mrParts=matchReplaceDetails.split("@@match-replace@@");
  for (  String p : mrParts) {
    SubstringReplacerMatchRule mr=new SubstringReplacerMatchRule(p.trim());
    mr.m_statusMessagePrefix=statusMessagePrefix;
    mr.m_logger=log;
    mr.init(env,inputStructure);
    matchRules.add(mr);
  }
  return matchRules;
}

public static List < SubstringReplacerMatchRule > matchRulesFromInternal ( String matchReplaceDetails , Instances inputStructure , String statusMessagePrefix , Logger log , Environment env ) { List < SubstringReplacerMatchRule > matchRules = new ArrayList < SubstringReplacerMatchRule > ( ) ; String [ ] mrParts = matchReplaceDetails . split ( "@@match-replace@@" ) ; for ( String p : mrParts ) { SubstringReplacerMatchRule mr = new SubstringReplacerMatchRule ( p . trim ( ) ) ; mr . m_statusMessagePrefix = statusMessagePrefix ; mr . m_logger = log ; mr . init ( env , inputStructure ) ; matchRules . add ( mr ) ; } return matchRules ; }
get a list of match rules from an internally encoded match specification
