Added methods to MatcherFactoryN generator for regex withGroups syntax.