projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix search terms starting with \d+ in sh/log etc
[spider.git]
/
cmd
/
show
/
rcmd.pl
diff --git
a/cmd/show/rcmd.pl
b/cmd/show/rcmd.pl
index d7cbd332a5529a9cd7099e6962f4afdb4a6eb9bf..df64298b640e161b870ee6fa4fddce16a250ea9f 100644
(file)
--- a/
cmd/show/rcmd.pl
+++ b/
cmd/show/rcmd.pl
@@
-27,7
+27,9
@@
while ($f = shift @f) { # next field
next if $to;
}
next if $who;
- ($who) = $f =~ /^(\w+)/o;
+ if ($f !~ /^\d+$/) {
+ ($who) = $f;
+ }
}
$to = 20 unless $to;