kotlin.text.Regex.find
find
fun find( input: CharSequence, startIndex: Int = 0 ): MatchResult?
Returns the first match of a regular expression in the input, beginning at the specified startIndex.
Parameters
startIndex
- An index to start search with, by default 0. Must be not less than zero and no