Memoize tests
[p5sagit/p5-mst-13.2.git] / lib / utf8_heavy.pl
index f73b9eb..06b2266 100644 (file)
@@ -28,7 +28,7 @@ sub SWASHNEW {
 
         $type = 'Lampersand' if $type =~ /^(?:Is)?L&$/;
 
-       my $inprefix = substr(lc($type), 0, 3);
+       my $inprefix = substr(lc($type), 0, 2);
        if (exists $utf8::InPat{$inprefix}) {
            my $In = $type;
            for my $k (keys %{$utf8::InPat{$inprefix}}) {