@Override public TokenStream create(TokenStream tokenStream) { return new PatternReplaceFilter(tokenStream, pattern, replacement, all); }
@Override public PatternReplaceFilter create(TokenStream input) { return new PatternReplaceFilter(input, p, replacement, all); }