Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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,