[Bug 243291] www/squid PCRE regexp doesn't work anymore
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 1 17:08:52 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243291
--- Comment #3 from OlivierW <olivierw1+bugzilla-freebsd at hotmail.com> ---
Hello,
Thanks for your answer!
I currently don't have access to the specific regexes, but they are similar to:
acl example url_regex -i ^http:\/\/www\.example\.com\/.*?\.js
I've tried this one in a VM with FreeBSD 12.1 and Squid 4.10 from ports and I
am getting the error.
I've found I can fix it by removing the lazy quantifier (from .*? to .*):
acl example url_regex -i ^http:\/\/www\.example\.com\/.*\.js
Both regexes are accepted with Squid 4.10 compiled with "--enable-gnuregex".
Maybe I should just change my regexes to remove the lazy quantifier? Hoping
it's the only case causing a problem.
As you said, I'll ask on Squid's mailing list to know what is the right thing
to do.
Best Regards,
Olivier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list