X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=9019bb5b92dbfb6f8a0f0729de336d769918f999;hb=4b49fe47b37249d748f0a52fe2a778d4bc27232f;hp=7fcba6d1d045a005d0693306a72b0d3a2307b9f3;hpb=61885d0dba3c8e06146aabb40031609ef1eb5b2e;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 7fcba6d1..9019bb5b 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -403,7 +403,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 =~ /^C?Q/ || $text =~ /^\d+$/) { + unless ($text =~ /^C?Q/ || $text =~ /^[\d\W]+$/) { my @try = Prefix::cty_data($text); $text = "" if $cty == $try[0]; }