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.namedPattern()
Returns the named 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 © 2017. All rights reserved.