@PublicPreview("2021.06") data class Match : Serializable
Informs which part of the input is represented by the segment.
offset
- Starting offset of the input substring matching the segment. The offset of the first character is 0.
length
- Length of the matched substring.
val length: Int
Length of the matched substring. |
|
val offset: Int
Starting offset of the input substring matching the segment. The offset of the first character is 0. |