From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 27 Mar 2025 13:27:29 +0000 (+0100)
Subject: Remove claims that path matching can be turned case-sensitive
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@proxy-info-url@?a=commitdiff_plain;h=9337907595c257c24042966877c6c0d0e4659693;p=privoxy.git

Remove claims that path matching can be turned case-sensitive

The suggested method doesn't actually work.
---

diff --git a/default.action.master b/default.action.master
index 806927a2..fd5559b2 100644
--- a/default.action.master
+++ b/default.action.master
@@ -123,18 +123,6 @@
 # man perlre (also available at https://perldoc.perl.org/perlre) for
 # details. The appendix to our User Manual also has some detail.
 #
-# Please note that matching in the path is CASE INSENSITIVE by default, but
-# you can switch to case sensitive by starting the pattern with the "(?-i)"
-# switch:
-#
-# www.example.com/(?-i)PaTtErN.*
-#   will match only documents whose path starts with PaTtErN in exactly this
-#   capitalization.
-#
-# Partially case-sensitive and partially case-insensitive patterns are
-# possible, but the rules about splitting them up are extremely complex
-# - see the PCRE documentation for more information.
-#
 #############################################################################
 # Action Syntax
 #############################################################################
diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml
index a1e5a7bf..3c5f5893 100644
--- a/doc/source/user-manual.sgml
+++ b/doc/source/user-manual.sgml
@@ -2373,14 +2373,6 @@ media.example.com/.*banners
  for the beginning of a line).
 </para>
 
-<para>
- Please also note that matching in the path is <emphasis>CASE INSENSITIVE</emphasis>
- by default, but you can switch to case sensitive at any point in the pattern by using the
- <quote>(?-i)</quote> switch: <literal>www.example.com/(?-i)PaTtErN.*</literal> will match
- only documents whose path starts with <literal>PaTtErN</literal> in
- <emphasis>exactly</emphasis> this capitalization.
-</para>
-
 <variablelist>
  <varlistentry>
   <term><literal>.example.com/.*</literal></term>