asearch module provides functions for approximate pattern matching.
pat = apattern("findthis") amatch(pat, "findthat", 2) ==> true