X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcharnames.pm;h=cd7b08aa97bfc0bd557bcdb99222e3d797900567;hb=462d8b025fb2f0b0f3b03c2b1a0b9a1d4406346c;hp=c9a8ea5bbd5b6d3ae33d594ca8fe9f6e5c2831c5;hpb=51cf30b653436b0bbc2a8b902381f06f5842ab04;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/charnames.pm b/lib/charnames.pm index c9a8ea5..cd7b08a 100644 --- a/lib/charnames.pm +++ b/lib/charnames.pm @@ -6,7 +6,7 @@ use File::Spec; our $VERSION = '1.02'; use bytes (); # for $bytes::hint_bits -$charnames::hint_bits = 0x20000; +$charnames::hint_bits = 0x20000; # HINT_LOCALIZE_HH my %alias1 = ( # Icky 3.2 names with parentheses. @@ -107,7 +107,7 @@ sub charnames ## @off will hold the index into the code/name string of the start and ## end of the name as we find it. - ## If :full, look for the the name exactly + ## If :full, look for the name exactly if ($^H{charnames_full} and $txt =~ /\t\t\Q$name\E$/m) { @off = ($-[0], $+[0]); }