# Package org.apache.lucene.analysis.pattern

Set of components for pattern-based (regex) analysis.

See: Description

Class Summary
PatternCaptureGroupFilterFactory: Factory for `PatternCaptureGroupTokenFilter`.
PatternCaptureGroupTokenFilter: CaptureGroup uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns.
PatternReplaceCharFilter: CharFilter that uses a regular expression for the target of replace string.
PatternReplaceCharFilterFactory: Factory for `PatternReplaceCharFilter`.
PatternReplaceFilter: A TokenFilter which applies a Pattern to each token in the stream, replacing match occurrences with the specified replacement string.
PatternReplaceFilterFactory: Factory for `PatternReplaceFilter`.
PatternTokenizer: This tokenizer uses regex pattern matching to construct distinct tokens for the input stream.
PatternTokenizerFactory: Factory for `PatternTokenizer`.
SimplePatternSplitTokenizer: This tokenizer uses a Lucene `RegExp` or (expert usage) a pre-built determinized `Automaton`, to locate tokens.
SimplePatternSplitTokenizerFactory: Factory for `SimplePatternSplitTokenizer`, for producing tokens by splitting according to the provided regexp.
SimplePatternTokenizer: This tokenizer uses a Lucene `RegExp` or (expert usage) a pre-built determinized `Automaton`, to locate tokens.
SimplePatternTokenizerFactory: Factory for `SimplePatternTokenizer`, for matching tokens based on the provided regexp.

## Package org.apache.lucene.analysis.pattern Description

Set of components for pattern-based (regex) analysis.