[Privoxy-commits] [privoxy] 08/08: Remove claims that path matching can be turned case-sensitive

User Git git at git.privoxy.org
Sat Apr 5 14:18:56 CEST 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 9337907595c257c24042966877c6c0d0e4659693
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Mar 27 14:27:29 2025 +0100

    Remove claims that path matching can be turned case-sensitive
    
    The suggested method doesn't actually work.
---
 default.action.master       | 12 ------------
 doc/source/user-manual.sgml |  8 --------
 2 files changed, 20 deletions(-)

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>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list