matches

open fun matches(source: CharSequence, index: Int): Int?

Return

the amount of characters the sequence spans, or null when it does not start at index

Parameters

source

text to inspect

index

index the sequence must start at