interface MatchResult
Represents the results from a single regular expression match.
class Destructured Provides components for destructuring assignment of group values. |
open val destructured: Destructured An instance of MatchResult.Destructured wrapper providing components for destructuring assignment of group values. | |
abstract val groupValues: List<String> A list of matched indexed group values. | |
abstract val groups: MatchGroupCollection A collection of groups matched by the regular expression. | |
abstract val range: IntRange The range of indices in the original string where match was captured. | |
abstract val value: String The substring from the input string captured by this match. |
abstract fun next(): MatchResult? 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). |
open operator fun equals(other: Any?): Boolean Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements: | |
open fun hashCode(): Int Returns a hash code value for the object. The general contract of hashCode is: | |
open fun toString(): String Returns a string representation of the object. |
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-match-result/index.html