chiark
/
gitweb
/
~webstump
/
modbot-uram.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct regexp
[modbot-uram.git]
/
webstump
/
scripts
/
html_output.pl
diff --git
a/webstump/scripts/html_output.pl
b/webstump/scripts/html_output.pl
index 728bd711d42fd3c153b1598b09598af096318da5..a974628f9d94ebe48b51e3d0bf66bdabf3217815 100644
(file)
--- a/
webstump/scripts/html_output.pl
+++ b/
webstump/scripts/html_output.pl
@@
-636,7
+636,7
@@
sub scanlogs ($$$) {
local ($_) = @_;
return $forwards * (
m/^errs$/ ? 1 :
- m/^errs\.(\d+)(?:\.gz
$)
$/ ? ($1+2) :
+ m/^errs\.(\d+)(?:\.gz
)?
$/ ? ($1+2) :
0
);
};