MatchResult
Implements a non-terminal append-and-replace step.
Implements a non-terminal append-and-replace step.
Implements a terminal append-and-replace step.
Implements a terminal append-and-replace step.
int
Returns the offset after the last character matched.
int
Returns the offset after the last character of the subsequence captured by the given group during the previous match operation.
int
Returns the offset after the last character of the subsequence captured by the given
named-capturing groupduring the previous match operation.
boolean
Attempts to find the next subsequence of the input sequence that matches the pattern.
boolean
Resets this matcher and then attempts to find the next subsequence of the input sequence that matches the pattern, starting at the specified index.
Returns the input subsequence matched by the previous match.
Returns the input subsequence captured by the given group during the previous match operation.
Returns the input subsequence captured by the given
named-capturing groupduring the previous match operation.
int
Returns the number of capturing groups in this matcher's pattern.
boolean
Queries the anchoring of region bounds for this matcher.
boolean
Returns whether this
contains a valid match from a previous match or find operation.
boolean
Queries the transparency of region bounds for this matcher.
boolean
Returns true if the end of input was hit by the search engine in the last match operation performed by this matcher.
boolean
Attempts to match the input sequence, starting at the beginning of the region, against the pattern.
boolean
Attempts to match the entire region against the pattern.
Returns an unmodifiable map from capturing group names to group numbers.
Returns the pattern that is interpreted by this matcher.
Returns a literal replacement String
for the specified String
.
Sets the limits of this matcher's region.
int
Reports the end index (exclusive) of this matcher's region.
int
Reports the start index of this matcher's region.
Replaces every subsequence of the input sequence that matches the pattern with the given replacement string.
Replaces every subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.
Replaces the first subsequence of the input sequence that matches the pattern with the given replacement string.
Replaces the first subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.
boolean
Returns true if more input could change a positive match into a negative one.
Resets this matcher with a new input sequence.
Returns a stream of match results for each subsequence of the input sequence that matches the pattern.
int
Returns the start index of the previous match.
int
Returns the start index of the subsequence captured by the given group during the previous match operation.
int
Returns the start index of the subsequence captured by the given
named-capturing groupduring the previous match operation.
Returns the match state of this matcher as a
MatchResult
.
Returns the string representation of this matcher.
Sets the anchoring of region bounds for this matcher.
Changes the Pattern
that this Matcher
uses to find matches with.
Sets the transparency of region bounds for this matcher.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4