Skip Menu |

This queue is for tickets about the Text-Levenshtein-Damerau-XS CPAN distribution.

Report information
The Basics
Id: 119223
Status: resolved
Priority: 0/
Queue: Text-Levenshtein-Damerau-XS

People
Owner: UGEXE [...] cpan.org
Requestors: j.j.berkhout [...] xs4all.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.1



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
Download signature.asc
application/pgp-signature 819b

Message body not shown because it is not plain text.

From: UGEXE [...] cpan.org
On Tue Dec 13 07:15:19 2016, j.j.berkhout@xs4all.nl wrote: Show quoted text
> 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 > >
This is fixed in v3.0 or v3.1