class RegexpDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory {

    public DefinitionPatternMatcher createDefinitionPatternMatcher(
            String pattern, Definition definition) {
        return new RegexpDefinitionPatternMatcher(pattern, definition);
    }

}