[squid-users] acl url_regex on squid3 is not working using an online tested regular expression

ppmartell at unah.edu.cu ppmartell at unah.edu.cu
Tue Sep 26 19:27:10 UTC 2017

As Mr. Alex Rousskov suggested, the problem was the regex itself. He provided me a modified regex (more simple) and now the filter is working. 

My regex: ((?=.*\biphone\b)|(?=.*\bprod\b)).*\.facebook\.com(\:|\d|) 

Alex's regex: \b(iphone|prod)\b.*\.facebook\.com 

Using https://regex101.com/ both work, but squid only accepts the second one. After running squid3 -k parse I got no errors. Thanks Alex. 

Participe en el Congreso Internacional de las Ciencias Agropecuarias (AGROCIENCIAS 2017) http://www.agrocienciascuba.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170926/40a15f65/attachment.html>

More information about the squid-users mailing list