Uses of Class java.util.regex.Matcher (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.util.regex, class: Matcher

# 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
  Description
  `Matcher`
  Matcher.`appendReplacement(StringBuffer sb, String replacement)`
  Implements a non-terminal append-and-replace step.
  `Matcher`
  Matcher.`appendReplacement(StringBuilder 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.