From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 6 Jun 2020 15:47:58 +0000 (+0200)
Subject: privoxy-log-parser.pl: Properly highlight the filter results message
X-Git-Tag: v_3_0_29~299
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/static/@proxy-info-url@?a=commitdiff_plain;h=a5b81ebb2623d8cb82dbb19113df02e235e1676d;p=privoxy.git

privoxy-log-parser.pl: Properly highlight the filter results message

Previously a brace got lost.
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index dc8eea14..e3d1aa6a 100755
--- 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'}@;