[Privoxy-users] 8.4.2. The Path Pattern

Fabian Keil fk at fabiankeil.de
Sat May 20 09:38:01 UTC 2017


Lee <ler762 at gmail.com> wrote:

> On 5/11/17, privoxy at secmail.pro <privoxy at secmail.pro> wrote:
> > Manual 842 ".example.com/(.*/)(ads|banners?|junk)"
> >
> > above example didn't work as expected.
> > Privoxy didn't block below requests(".mycompany.com" will work though)
> >
> > ===
> > http://testing.mycompany.com/aaa/something?try=HELLOy
> >
> > ===
> > Action file:
> > .mycompany.com/(.*/)(HELLO)
> > ===
> >
> > Tried:
> > .mycompany.com/(.*/)(HELLO)
> > .mycompany.com/*HELLO*
> > .mycompany.com/(.*/)(try)
> > .mycompany.com/(.*/)(thing)
> >
> > Why is this?  

Lee already mentioned some issues, additionally your example
excerpts don't contain any action section. Probably you simply
didn't see the need to post it, but you may want to double check.
 
> Because the documentation is wrong & you don't understand how privoxy
> does regular expressions?
> 
> What the docs should say is something like:

I fixed the pattern explanation instead of changing the pattern.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20170520/fad1c9c7/attachment.bin>


More information about the Privoxy-users mailing list