| Interface | Description |
|---|---|
| MatchIterator | |
| MatchResult | |
| REFlags | |
| Substitution | |
| TextBuffer |
| Class | Description |
|---|---|
| Matcher |
Matcher instance is an automaton that actually performs matching.
|
| Optimizer | |
| Pattern |
A handle for a precompiled regular expression.
To match a regular expression myExpr against a text myString one should first create a Pattern object: |
| PerlSubstitution |
An implementation of the Substitution interface.
|
| Replacer |
The Replacer class suggests some methods to replace occurences of a pattern
either by a result of evaluation of a perl-like expression, or by a plain string,
or according to a custom substitution model, provided as a Substitution interface implementation.
A Replacer instance may be obtained either using Pattern.replacer(...) method, or by constructor: |
| RETokenizer |
The Tokenizer class suggests a methods to break a text into tokens using
occurences of a pattern as delimiters.
|
| WildcardPattern |
A Pattern subclass that accepts a simplified pattern syntax:
? |
| Exception | Description |
|---|---|
| PatternSyntaxException |
Is thrown when Pattern constructor's argument doesn't conform the Perl5 regular expression syntax.
|