Core API – Kotlin Programming Language (original) (raw)
MatchResult
Represents the results from a single regular expression match.
Since Kotlin
1.0
Provides components for destructuring assignment of group values.
A collection of groups matched by the regular expression.
A list of matched indexed group values.
The range of indices in the original string where match was captured.
The substring from the input string captured by this match.
Returns a new MatchResult with the results for the next match, starting at the position at which the last match ended (at the character after the last matched character).