From 5851dcf9c9c37e30a01cbb4d94b3681e6e542b57 Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 16 Mar 2005 23:15:23 +0000 Subject: [PATCH] check for Q --- perl/Spot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- 2.43.0