From: minima Date: Wed, 16 Mar 2005 23:15:23 +0000 (+0000) Subject: check for Q X-Git-Tag: R_1_52~80 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=5851dcf9c9c37e30a01cbb4d94b3681e6e542b57;p=spider.git check for Q --- diff --git a/perl/Spot.pm b/perl/Spot.pm index 8f20a999..7f9139cf 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -370,7 +370,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]; }