projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8147170
)
Ignore nested comments in tokenize().
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 1 May 2009 11:03:11 +0000
(11:03 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 1 May 2009 11:03:11 +0000
(11:03 +0000)
tools/privoxy-regression-test.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-regression-test.pl
b/tools/privoxy-regression-test.pl
index
29dc7bc
..
82726c8
100755
(executable)
--- 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.16
7 2009/04/05 18:58:4
6 fk Exp $
+# $Id: privoxy-regression-test.pl,v 1.16
9 2009/05/01 09:26:5
6 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;