From: minima Date: Wed, 16 Mar 2005 23:03:58 +0000 (+0000) Subject: don't check things starting in Q X-Git-Tag: 1.54~215 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=79d9dda3ba0b241596b2ac1daab2c780943c3628 don't check things starting in Q --- diff --git a/perl/Spot.pm b/perl/Spot.pm index 99f0c83e..a57edbe8 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -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]; }