fuzzyMatch

fun fuzzyMatch(pattern: String, str: String): Pair<Boolean, Int>

Performs a fuzzy search to find pattern inside a string

Return

a Pair containing the match status as a Boolean and match score as an Int

Parameters

pattern

the the pattern to match

str

the string to search