fromUnmaskedIndex

fun fromUnmaskedIndex(masked: String, pattern: String, unmaskedIndex: Int): Int(source)

Converts a raw-string index back to a caret position in the masked string.

Mirrors fromUnmaskedIndex from mask-input.tsx.