| Modifier and Type | Method and Description |
|---|---|
Matcher |
Matcher.appendReplacement(StringBuffer sb,
String replacement)
Appends to
sb two strings: the text from the append position up
to the beginning of the most recent match, and then the replacement with
submatch groups substituted for references of the form $n, where
n is the group number in decimal. |
Matcher |
Pattern.matcher(CharSequence input)
Creates a new
Matcher matching the pattern against the input. |
Matcher |
Matcher.reset()
Resets the
Matcher, rewinding input and
discarding any match information. |
Matcher |
Matcher.reset(CharSequence input)
Resets the
Matcher and changes the input. |
Copyright © 2015. All Rights Reserved.