private Matcher getMatcher(final String name) {
    if (myMatcher == null) {
      // need to quote dots, dollars, etc.
      myMatcher = PatternUtil.fromMask(getPattern()).matcher(name);
    }
    else {
      myMatcher.reset(name);
    }
    return myMatcher;
  }
private Matcher getMatcher(final String name)