]> dxcluster.org Git - spider.git/commitdiff
fix search terms starting with \d+ in sh/log etc
authorDirk Koopman <djk@tobit.co.uk>
Sat, 4 Feb 2023 12:13:47 +0000 (12:13 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Sat, 4 Feb 2023 12:13:47 +0000 (12:13 +0000)
Changes
cmd/show/chat.pl
cmd/show/log.pl
cmd/show/rcmd.pl

diff --git a/Changes b/Changes
index a42d8e281fb9685d40dcfa98bd41a801e1b75c29..3ed25f8b7ba3412c4632c6f433b11190047cfba5 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+04Feb23=======================================================================
+1. Fixed sh/log so that callsigns beginning with a digit (or several) are 
+   printed rather than being ignored.
+   This affects: show/ann, chat, log, rcmd and wx
 03Feb23=======================================================================
 1. Fix is_ipaddr to accept trailing '::'  on IPV6 addresses.
 2. Fix and extend the TEST program 'showdx' so that it now works on the mojo
index 6e209e25dbd5645cccc6bad700b372b2b3e77ac8..6b01d20675b557432d161cb4cf9c3ed8e62d59bb 100644 (file)
@@ -1,7 +1,7 @@
 #
 # print out the general log file for chat only
 #
-# Copyright (c) 1998-2003 - Dirk Koopman G1TLH
+# Copyright (c) 1998-2023 - Dirk Koopman G1TLH
 #
 #
 #
@@ -28,7 +28,7 @@ while ($f = shift @f) {                 # next field
                next if $to;
        }
        next if $who;
-       if ($f !~ /^\d+/) {
+       if ($f !~ /^\d+$/) {
                ($who) = $f;
        }
 #      ($who) = $f =~ /^(\w+)/o;
index ec84daa0af781343767cd915409388642756a553..2abe825762e531a09dfa53f89529c5cc1037f360 100644 (file)
@@ -27,7 +27,7 @@ sub handle
                        ($to) = $f =~ /^(\d+)$/ if !$to;              # is it a to count?
                        next if $to;
                }
-               unless ($f =~ /^\d+/) {
+               unless ($f =~ /^\d+$/) {
                        $who = $f; 
                        next if $who;
                }
index 0a362075ce0005e17e549bee2d7b98c3db81eeef..df64298b640e161b870ee6fa4fddce16a250ea9f 100644 (file)
@@ -27,7 +27,7 @@ while ($f = shift @f) {                 # next field
                next if $to;
        }
        next if $who;
-       if ($f !~ /^\d+/) {
+       if ($f !~ /^\d+$/) {
                ($who) = $f;
        }
 }