Match

fun Match(offset: Int, length: Int)

Parameters

offset

Starting offset of the input substring matching the segment. The offset of the first character is 0.

length

Length of the matched substring.

Important: This is a Public Preview API. It may be changed or removed at any time.