Uses of Class
java.util.regex.Matcher
Package
Description
Classes for matching character sequences against patterns specified
by regular expressions.
-
Uses of Matcher in java.util.regex
Modifier and TypeMethodDescriptionMatcher.appendReplacement(StringBuffer sb, String replacement)
Implements a non-terminal append-and-replace step.Matcher.appendReplacement(StringBuilder sb, String replacement)
Implements a non-terminal append-and-replace step.Pattern.matcher(CharSequence input)
Creates a matcher that will match the given input against this pattern.Matcher.region(int start, int end)
Sets the limits of this matcher's region.Matcher.reset()
Resets this matcher.Matcher.reset(CharSequence input)
Resets this matcher with a new input sequence.Matcher.useAnchoringBounds(boolean b)
Sets the anchoring of region bounds for this matcher.Matcher.usePattern(Pattern newPattern)
Changes thePattern
that thisMatcher
uses to find matches with.Matcher.useTransparentBounds(boolean b)
Sets the transparency of region bounds for this matcher.