| Package | Description |
|---|---|
| java.util.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
Pattern.compile(String regex)
Compiles the given regular expression into a pattern.
|
static Pattern |
Pattern.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given
flags.
|
Pattern |
Matcher.pattern()
Returns the pattern that is interpreted by this matcher.
|
| Modifier and Type | Method and Description |
|---|---|
Matcher |
Matcher.usePattern(Pattern newPattern)
Changes the Pattern that this Matcher uses to
find matches with.
|
Copyright © 2016 API Design. All Rights Reserved.