Subject: | Unexpected result from xs_edistance when the first argument is the empty string |
Date: | Tue, 13 Dec 2016 13:14:16 +0100 |
To: | bug-Text-Levenshtein-Damerau-XS [...] rt.cpan.org |
From: | Jaap Berkhout <j.j.berkhout [...] xs4all.nl> |
Subject: | Unexpected result from xs_edistance when the first argument is the empty string |
To: | bug-Text-Levenshtein-Damerau-XS [...] rt.cpan.org |
From: | Jaap Berkhout <j.j.berkhout [...] xs4all.nl> |
Using:
Text::Levenshtein::Damerau::XS qw/xs_edistance/ version 2.9
Perl: 5.16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread
Binary build 1604 [298023] provided by ActiveState
Built Apr 14 2014 15:29:45
OS: MS-Windows 7 Ultimate 64-bit
Statement:
x xs_edistance ('', 'This is a text', 5)
Expected result: -1
Got: 14
Message body not shown because it is not plain text.