X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdx.pl;h=f2629bfff0e225ef7249e358a17b166f46d38708;hb=ed96190995aa228ca30398b06c3cc0af1a59bf54;hp=f99a2b6cf8c1a08c81bb6e5aee15e1da5e05ad61;hpb=3cdd57e7baf63341fdcba6b764f304291ed0dbb2;p=spider.git diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index f99a2b6c..f2629bff 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -28,6 +28,7 @@ my $bystate; my $itu; my $byitu; my $fromdxcc; +my $exact; my ($doqsl, $doiota, $doqra, $dofilter); while ($f = shift @list) { # next field @@ -40,6 +41,10 @@ while ($f = shift @list) { # next field ($to) = $f =~ /^(\d+)$/o if !$to; # is it a to count? next if $to; } + if (lc $f eq 'exact') { + $exact = 1; + next; + } if (lc $f eq 'dxcc') { $dxcc = 1; next; @@ -180,6 +185,7 @@ if ($pre) { } else { $pre =~ s/\.\*\$$//; } + $pre .= '$' if $exact; $expr = "\$f1 =~ m{$pre}"; $pre =~ s/[\^\$]//g; $hint = "m{\U$pre}";