]> dxcluster.org Git - spider.git/commitdiff
don't check things starting in Q
authorminima <minima>
Wed, 16 Mar 2005 23:03:58 +0000 (23:03 +0000)
committerminima <minima>
Wed, 16 Mar 2005 23:03:58 +0000 (23:03 +0000)
perl/Spot.pm

index 99f0c83ed743934216698b7149ddff59b1647240..a57edbe81659a1b1b63bb269e93bf7e99e94f3b2 100644 (file)
@@ -335,7 +335,7 @@ sub dup
        $text =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg;
        $text = uc unpad($text);
        if ($cty && $text && length $text <= 4) {
-               unless ($text =~ /^CQ/ || $text =~ /^\d+$/) {
+               unless ($text =~ /^C?Q/ || $text =~ /^\d+$/) {
                        my @try = Prefix::cty_data($text);
                        $text = "" if $cty == $try[0];
                }