Uses of Class
java.util.regex.Matcher
-
Packages that use Matcher Package Description java.util.regex Classes for matching character sequences against patterns specified by regular expressions. -
-
Uses of Matcher in java.util.regex
Methods in java.util.regex that return Matcher Modifier and Type Method and Description Matcher
Matcher. appendReplacement(StringBuffer sb, String replacement)
Implements a non-terminal append-and-replace step.Matcher
Pattern. matcher(CharSequence input)
Creates a matcher that will match the given input against this pattern.Matcher
Matcher. region(int start, int end)
Sets the limits of this matcher's region.Matcher
Matcher. reset()
Resets this matcher.Matcher
Matcher. reset(CharSequence input)
Resets this matcher with a new input sequence.Matcher
Matcher. useAnchoringBounds(boolean b)
Sets the anchoring of region bounds for this matcher.Matcher
Matcher. usePattern(Pattern newPattern)
Changes the Pattern that this Matcher uses to find matches with.Matcher
Matcher. useTransparentBounds(boolean b)
Sets the transparency of region bounds for this matcher.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.