| 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 © 2019. All rights reserved.