projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3428672
)
tools/url-pattern-translator.pl: Detect a couple of pattern prefixes case-insensitively
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 5 Aug 2020 10:48:35 +0000
(12:48 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 6 Aug 2020 08:28:55 +0000
(10:28 +0200)
Sponsored by: Robert Klemme
tools/url-pattern-translator.pl
patch
|
blob
|
history
diff --git
a/tools/url-pattern-translator.pl
b/tools/url-pattern-translator.pl
index
b9e3766
..
5477a87
100755
(executable)
--- 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";