projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c39a0a5
)
privoxy-log-parser.pl: Properly highlight the filter results message
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 6 Jun 2020 15:47:58 +0000
(17:47 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 8 Jun 2020 13:34:36 +0000
(15:34 +0200)
Previously a brace got lost.
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
dc8eea1
..
e3d1aa6
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1061,7
+1061,7
@@
sub handle_loglevel_re_filter($) {
return '';
}
- $c =~ s@(?<=\(size )(\d+)
\)(?= with)
@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=\(size )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=\(new size )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=produced )(\d+)(?= hits)@$h{'Number'}$1$h{'Standard'}@;