| Package | Description | 
|---|---|
| java.util.regex | Classes for matching character sequences against patterns specified by regular
expressions. | 
| 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, 2014, Oracle and/or its affiliates.  All rights reserved.