in reply to Fuzzy Matching

What kinds of 'errors' are acceptable? Must the length and syntax match but the letters differ? Are missing characters acceptable? Are extra characters acceptable?

Look for the Levenshtein Distance: Text::Levenshtein.

There's also a command-line tool called 'agrep' which may help, even if only to focus your question by reading their documentation and widen your search for other answers.

--
[ e d @ h a l l e y . c c ]