Subject: | xs_edistance() 3rd argument |
Hello
Thank you for your good module.
I have a question. I thought that following all return 1.
perl -e'use Text::Levenshtein::Damerau::XS qw/xs_edistance/;print xs_edistance("xxx","xxxx",1),"\n";'
-1
perl -e'use Text::Levenshtein::Damerau::XS qw/xs_edistance/;print xs_edistance("xxx","xxxx",2),"\n";'
-1
perl -e'use Text::Levenshtein::Damerau::XS qw/xs_edistance/;print xs_edistance("xxx","xxxx",3),"\n";'
1
score is 1, and argument(limit) is more, then result is 1.
Did I get a wrong anything?
(Sorry my english is wrong)