wordify

fun wordify(pattern: String): String

Wraps pattern so it only matches at word boundaries, e.g. so "is" does not match inside "this".