fix search terms starting with \d+ in sh/log etc
[spider.git] / cmd / show / rcmd.pl
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;
        }
 }