range

abstract val range: IntRange(source)

The range of indices in the original string where match was captured.

Since Kotlin

1.0