}
SearchEngine searcher = new SearchEngine(settings);
PatternMatcher patternMatcher = new PatternMatcher() {
private PatternMatcher exact = new ExactPatternMatcher();
private PatternMatcher regexp = new ExactOrRegexpPatternMatcher();
public Matcher getMatcher(String expression) {
if (expression.equals(organisation)
|| expression.equals(module)
|| expression.equals(branch)) {
return exact.getMatcher(expression);
}
return regexp.getMatcher(expression);
}
public String getName() {