The
java.util.regex package consist of one interface and three classes.
Classes
in regex package
| Class | Description |
| Pattern | Pattern object is a compiled representation of a regular expression. This class provides methods to search for a regular expression in given string. |
| Matcher | A Matcher object is the engine that interprets the pattern and performs match operations against an input string. |
| PatternSyntaxException | It indicates a syntax error in a regular expression pattern. |
Interfaces
in regex package
| Interface | Description |
| MatchResult | Interface contains query methods used to determine the results of a match against a regular expression. |
No comments:
Post a Comment