go to bug id or search bugs for
The problem is very simple : try this for example
levenshtein("debugging","debuging") returns 0 instead of 1
levenshtein("debbbug","debug") returns 1 instead of 2..
levenshtein("ddebug","debug") returns 0
but (the exception!)
levenshtein("debugg","debug") returns 1 (coool)
My english is pretty poor so no long description, i think u have understood the core of the problem :)
I think this is a problem in the source code of the lenvenshtein function (algorithmic) so no need for other information (i hope so).
Have a nice day !
Add a Patch
Add a Pull Request
I get the same results with 4.0.3RC2.
dup. of #7368, i had it fixed while on the train on friday
now if i only could find my PCMCIA network card for a checkin ...
fixed in CVS