#12272 wasn't right, it introduced an extra ().
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Sep 2001 05:05:18 +0000 (05:05 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Sep 2001 05:05:18 +0000 (05:05 +0000)
p4raw-id: //depot/perl@12278

lib/utf8_heavy.pl

index d0bc5bff007805f37a6bd7cf53347d1fc8e90acc..ed3da176acde41352be7518248ba2491d12d76a4 100644 (file)
@@ -26,7 +26,7 @@ sub SWASHNEW {
     while (($caller = caller($i)) eq __PACKAGE__) { $i++ }
     my $encoding = $enc{$caller} || "unicore";
     (my $file = $type) =~ s!::!/!g;
-    if ($file =~ /^(In|in|IN|iN)[- _]?(.+?)\s*$/) { # /i would cause recursion.
+    if ($file =~ /^(?:In|in|IN|iN)[- _]?(.+?)\s*$/) { # /i would cause recursion.
        my $In = $1;
        defined %utf8::In || do "$encoding/In.pl";
        my $prefix = substr(lc($In), 0, 3);