tools/url-pattern-translator.pl: Add the new 'PCRE-HOST-PATTERN:' prefix
[privoxy.git] / tools / url-pattern-translator.pl
index 0653e76..4a78687 100755 (executable)
@@ -72,6 +72,9 @@ sub convert_host_pattern ($) {
     # Match single character with a dot.
     $hp =~ s@(?<!\))\?@.@g;
 
+    # Add the prefix
+    $hp = "PCRE-HOST-PATTERN:" . $hp;
+
     return $hp;
 }