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