tools/url-pattern-translator.pl: Detect a couple of pattern prefixes case-insensitively
authorFabian Keil <fk@fabiankeil.de>
Wed, 5 Aug 2020 10:48:35 +0000 (12:48 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 6 Aug 2020 08:28:55 +0000 (10:28 +0200)
Sponsored by: Robert Klemme

tools/url-pattern-translator.pl

index b9e3766..5477a87 100755 (executable)
@@ -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";