scala.util.matching.Regex.Match
See theMatch companion objectProvides information about a successful match.
AttributesThe index following the last matched character in group i
.
The index following the last matched character in group i
.
The match itself with matcher-dependent lazy vals forced, so that match is valid even once matcher is advanced.
The match itself with matcher-dependent lazy vals forced, so that match is valid even once matcher is advanced.
AttributesThe index of the first matched character in group i
.
The index of the first matched character in group i
.
The char sequence after last character of match in group i
, or null
if nothing was matched for that group.
The char sequence after last character of match in group i
, or null
if nothing was matched for that group.
Returns char sequence after last character of match, or null
if nothing was matched.
Returns char sequence after last character of match, or null
if nothing was matched.
The char sequence before first character of match in group i
, or null
if nothing was matched for that group.
The char sequence before first character of match in group i
, or null
if nothing was matched for that group.
The char sequence before first character of match, or null
if nothing was matched.
The char sequence before first character of match, or null
if nothing was matched.
Returns the group with the given name.
Returns the group with the given name.
Uses explicit group names when supplied; otherwise, queries the underlying implementation for inline named groups. Not all platforms support inline group names.
Value parametersThe group name
The requested group
The matched string in group i
, or null
if nothing was matched.
The matched string in group i
, or null
if nothing was matched.
The matched string, or null
if nothing was matched.
The matched string, or null
if nothing was matched.
All capturing groups, i.e., not including group(0).
All capturing groups, i.e., not including group(0).
AttributesThe matched string; equivalent to matched.toString
.
The matched string; equivalent to matched.toString
.
The index following the last matched character.
The index following the last matched character.
AttributesThe source from which the match originated
The source from which the match originated
AttributesThe index of the first matched character.
The index of the first matched character.
AttributesThe names of the groups, or an empty sequence if none defined
The names of the groups, or an empty sequence if none defined
Attributes[Since version 2.13.7]
groupNames does not include inline group names, and should not be used anymore
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