Provides information about a successful match.
The index following the last matched character in groupi.
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.
The number of subgroups.
The index of the first matched character in groupi.
The char sequence after last character of match in groupi, ornull if nothing was matched for that group.
The char sequence after last character of match in groupi, ornull if nothing was matched for that group.
Returns char sequence after last character of match, ornull if nothing was matched.
Returns char sequence after last character of match, ornull if nothing was matched.
The char sequence before first character of match in groupi, ornull if nothing was matched for that group.
The char sequence before first character of match in groupi, ornull if nothing was matched for that group.
The char sequence before first character of match, ornull if nothing was matched.
The char sequence before first character of match, ornull 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.
The group name
The requested group
IllegalArgumentException if the requested group name is not defined
The matched string in groupi, ornull if nothing was matched.
The matched string in groupi, ornull if nothing was matched.
The matched string, ornull if nothing was matched.
The matched string, ornull if nothing was matched.
All capturing groups, i.e., not including group(0).
All capturing groups, i.e., not including group(0).
The index following the last matched character.
The source from which the match originated
The index of the first matched character.
The names of the groups, or an empty sequence if none defined
The names of the groups, or an empty sequence if none defined
[Since version 2.13.7]groupNames does not include inline group names, and should not be used anymore