From: Fabian Keil Date: Fri, 1 May 2009 11:03:11 +0000 (+0000) Subject: Ignore nested comments in tokenize(). X-Git-Tag: v_3_0_13~110 X-Git-Url: http://www.privoxy.org/gitweb/03andreas_t.jpg?a=commitdiff_plain;h=9b09b278a7ff6910f4334e5399bdb055882274a4;p=privoxy.git Ignore nested comments in tokenize(). --- diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl index 29dc7bc2..82726c8c 100755 --- a/tools/privoxy-regression-test.pl +++ b/tools/privoxy-regression-test.pl @@ -7,7 +7,7 @@ # A regression test "framework" for Privoxy. For documentation see: # perldoc privoxy-regression-test.pl # -# $Id: privoxy-regression-test.pl,v 1.167 2009/04/05 18:58:46 fk Exp $ +# $Id: privoxy-regression-test.pl,v 1.169 2009/05/01 09:26:56 fk Exp $ # # Wish list: # @@ -223,7 +223,7 @@ sub tokenize ($) { s@&@&@g; # Tokenize - if (/^\#\s*([^=:]*?)\s*[=]\s*(.+?)\s*$/) { + if (/^\#\s*([^=:#]*?)\s*[=]\s*([^#]+)$/) { $token = $1; $value = $2;