fix search terms starting with \d+ in sh/log etc
[spider.git] / cmd / show / log.pl
index b1023f29bea726cdf5182c58e0a4af6bf82f91ba..2abe825762e531a09dfa53f89529c5cc1037f360 100644 (file)
@@ -24,10 +24,10 @@ sub handle
                        next if $from && $to > $from;
                }
                unless ($to) {
-                       ($to) = $f =~ /^(\d+)$/o if !$to;              # is it a to count?
+                       ($to) = $f =~ /^(\d+)$/ if !$to;              # is it a to count?
                        next if $to;
                }
-               unless ($f =~ /^\d+/) {
+               unless ($f =~ /^\d+$/) {
                        $who = $f; 
                        next if $who;
                }