One thing you might do is to google for the Baeza-Yates k-mismatches algorithm, the Wu-Manber k-differences algorithm and the longest common subsequence (LCS) algorithms.
Some additional modules of possible interest: Jarkko Hietaniemi's String::Approx and Mark-Jason Dominus' Algorithm::Diff.
In reply to Re: Edit distance between two strings
by Laurent_R
in thread Edit distance between two strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |