Skip Menu |

This queue is for tickets about the Lingua-JA-Kana CPAN distribution.

Report information
The Basics
Id: 38122
Status: resolved
Priority: 0/
Queue: Lingua-JA-Kana

People
Owner: Nobody in particular
Requestors: bkb [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: びょ becomes bixyo
There's currently a bug such that びょ turns into bixyo, if you don't have Regex::Assemble. Although I haven't tested this, I'm fairly sure the problems are the lines my $str = join '|', keys %Kana2Hepburn; my $str = join '|', keys %Romaji2Kata; That "join" should be join '|', (sort {length($b) <=> length($a)} keys %...) because otherwise び comes before びょ in $str, so it matches び first.
Thanks, addressed in the next version. Dan the Maintainer On Sat Aug 02 06:11:09 2008, BKB wrote: Show quoted text
> There's currently a bug such that びょ turns into bixyo, if you don't > have Regex::Assemble. Although I haven't tested this, I'm fairly sure > the problems are the lines > > my $str = join '|', keys %Kana2Hepburn; > my $str = join '|', keys %Romaji2Kata; > > That "join" should be > > join '|', (sort {length($b) <=> length($a)} keys %...) > > because otherwise び comes before びょ in $str, so it matches び first. >