From: Fabian Keil Date: Wed, 5 Aug 2020 10:48:35 +0000 (+0200) Subject: tools/url-pattern-translator.pl: Detect a couple of pattern prefixes case-insensitively X-Git-Tag: v_3_0_29~239 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=3c6244b685f44b3fa0bc48c2c57a4e6bcf97a81f tools/url-pattern-translator.pl: Detect a couple of pattern prefixes case-insensitively Sponsored by: Robert Klemme --- diff --git a/tools/url-pattern-translator.pl b/tools/url-pattern-translator.pl index b9e3766c..5477a876 100755 --- a/tools/url-pattern-translator.pl +++ b/tools/url-pattern-translator.pl @@ -91,11 +91,11 @@ sub looks_interesting($) { $type_to_skip = "whitespace"; - } elsif (m@^\s*CLIENT-TAG:@) { + } elsif (m@^\s*CLIENT-TAG:@i) { $type_to_skip = "client tag patttern"; - } elsif (m@^\s*TAG:@) { + } elsif (m@^\s*TAG:@i) { $type_to_skip = "tag patttern"; @@ -107,7 +107,7 @@ sub looks_interesting($) { $type_to_skip = "predefined settings"; - } elsif (m@^\s*PCRE-HOST-PATTERN:@) { + } elsif (m@^\s*PCRE-HOST-PATTERN:@i) { $type_to_skip = "already converted pcre host patttern";