projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c7785
)
#12272 wasn't right, it introduced an extra ().
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 30 Sep 2001 05:05:18 +0000
(
05:05
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 30 Sep 2001 05:05:18 +0000
(
05:05
+0000)
p4raw-id: //depot/perl@12278
lib/utf8_heavy.pl
patch
|
blob
|
history
diff --git
a/lib/utf8_heavy.pl
b/lib/utf8_heavy.pl
index d0bc5bff007805f37a6bd7cf53347d1fc8e90acc..ed3da176acde41352be7518248ba2491d12d76a4 100644
(file)
--- a/
lib/utf8_heavy.pl
+++ b/
lib/utf8_heavy.pl
@@
-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);