code: public static MatchParser prime(MatchParser parser, String selector, boolean strict) {
      CharStream inStream = new IBMUnicodeCharStream(new StringReader(selector),1,1);
      if (parser == null)
        parser =  new MatchParserImpl(inStream);
      else
        ((MatchParserImpl)parser).ReInit(inStream);
      ((MatchParserImpl)parser).strict = strict;
      return parser;
    }
docs: Prime a MatchParser object with a String form selector so that its QueryExpr method
  will return the corresponding Selector tree.
  
  @param parser an existing MatchParser object to be reused, or null if a new one is to
  be created.
  
  @param selector the String-form selector to be parsed
  
  @param strict true if only the JMS standard syntax is to be accepted, false if the
  extended syntax for identifiers, and set expressions, is to be accepted.
  
  @return a parser, primed with the supplied selector.  This is the same parser object
  that was supplied as an argument, if one was supplied.