Uses of Class
java.util.regex.Matcher
| Package | Description |
|---|---|
| java.util.regex |
-
Uses of Matcher in java.util.regex
Methods in java.util.regex that return Matcher Modifier and Type Method Description MatcherMatcher. appendReplacement(StringBuffer buffer, String replacement)Appends a literal part of the input plus a replacement for the current match to a givenStringBuffer.MatcherPattern. matcher(CharSequence input)Returns aMatcherfor this pattern applied to the giveninput.MatcherMatcher. region(int start, int end)Resets this matcher and sets a region.MatcherMatcher. reset()Resets theMatcher.MatcherMatcher. reset(CharSequence input)Provides a new input and resets theMatcher.MatcherMatcher. useAnchoringBounds(boolean value)Determines whether this matcher has anchoring bounds enabled or not.MatcherMatcher. usePattern(Pattern pattern)Sets a new pattern for theMatcher.MatcherMatcher. useTransparentBounds(boolean value)Determines whether this matcher has transparent bounds enabled or not.