[squid-users] Regex difficulties
Amos Jeffries
squid3 at treenet.co.nz
Mon May 4 10:02:18 UTC 2015
On 4/05/2015 4:49 a.m., Balázs Szabados wrote:
> Hi,
>
> I'm trying to hook up these regex files for url filtering:
> http://www.squidguard.org/Doc/Examples/08.expressionlist
> http://www.squidguard.org/Doc/Examples/09.whiteexpression
>
> I've created the ACL, but when I start squid, I get all these error
> messages:
>
> aclParseRegexList: Invalid regular expression [...]
> Unmatched ( or \(
>
> I've checked the regex with a regex validator, all I got is some unescaped
> "/" chars, corrected the escaping, but the issue still persists.
>
> What am I doing wrong?
The bit that you eliminated there with "[...]" was the critical piece
needed to debug.
Without it we dont know where Squid was up to in reading the regex
pattern list.
Amos
More information about the squid-users
mailing list