http://qs321.pair.com?node_id=292956

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello Folks, I would like to compare two strings (a pattern and a text) such that one mismatch character is allowed. For example, if the pattern is: "match", and the text is: "for the watch to babble and to talk is most tolerable", then there is a match between "match" and "watch" with one mismatch character. Any suggestions about this? Thank you in advance,