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,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: 1 mismatch string matching
by tachyon (Chancellor) on Sep 21, 2003 at 08:22 UTC | |
Re: 1 mismatch string matching
by kvale (Monsignor) on Sep 21, 2003 at 03:43 UTC |
Back to
Seekers of Perl Wisdom