in reply to pattern matching tricky one

For general approximate pattern matching, I would recommend String::Approx.

-Mark