The methods of Java.Util.Regex.Matcher are listed below. For a list of all members, see the Matcher Members list.
See Also: Inherited members from Java.Lang.Object
AppendReplacement(Java.Lang.StringBuffer, string)Appends a literal part of the input plus a replacement for the current match to a given Java.Lang.StringBuffer. | ||
AppendTail(Java.Lang.StringBuffer)Appends the (unmatched) remainder of the input to the given Java.Lang.StringBuffer. | ||
End()Returns the index of the first character following the text that matched the whole regular expression. | ||
End(int)Returns the index of the first character following the text that matched a given group. | ||
Find()Moves to the next occurrence of the pattern in the input. | ||
Find(int)Returns true if there is another match in the input, starting from the given position. | ||
Group()Returns the text that matched the whole regular expression. | ||
Group(int)Returns the text that matched a given group of the regular expression. | ||
Group(string)Documentation for this section has not yet been entered. | ||
GroupCount()Returns the number of groups in the results, which is always equal to the number of groups in the original regular expression. | ||
HitEnd()Returns true if the most recent matching operation attempted to access additional text beyond the available input, meaning that additional input could change the results of the match. | ||
LookingAt()Tries to match the Java.Util.Regex.Pattern, starting from the beginning of the region (or the beginning of the input, if no region has been set). | ||
Matches()Tries to match the Java.Util.Regex.Pattern against the entire region (or the entire input, if no region has been set). | ||
Pattern()Returns the Java.Util.Regex.Pattern instance used inside this matcher. | ||
static | QuoteReplacement(string)Returns a replacement string for the given one that has all backslashes and dollar signs escaped. | |
Region(int, int)Resets this matcher and sets a region. | ||
RegionEnd()Returns this matcher's region end, that is, the index of the first character that is not considered for a match. | ||
RegionStart()Returns this matcher's region start, that is, the index of the first character that is considered for a match. | ||
ReplaceAll(string)Replaces all occurrences of this matcher's pattern in the input with a given string. | ||
ReplaceFirst(string)Replaces the first occurrence of this matcher's pattern in the input with a given string. | ||
RequireEnd()Returns true if the most recent match succeeded and additional input could cause it to fail. | ||
Reset()Resets the Matcher. | ||
Reset(Java.Lang.ICharSequence)Provides a new input and resets the Matcher. | ||
Reset(string)Documentation for this section has not yet been entered. | ||
Start()Returns the index of the first character of the text that matched the whole regular expression. | ||
Start(int)Returns the index of the first character of the text that matched a given group. | ||
ToMatchResult()Converts the current match into a separate Java.Util.Regex.IMatchResult instance that is independent from this matcher. | ||
UseAnchoringBounds(bool)Determines whether this matcher has anchoring bounds enabled or not. | ||
UsePattern(Pattern)Sets a new pattern for the Matcher. | ||
UseTransparentBounds(bool)Determines whether this matcher has transparent bounds enabled or not. |