RE: [squid-users] Confusion regarding regex

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Mon, 21 Jun 2010 10:59:45 +0200

mån 2010-06-21 klockan 06:25 +0000 skrev GIGO .:
> Hi Amos,
>
> There is still some confusion regarding regex and any help will be great please.
>
>
> you told that squid uses posix regex but is it BRE or ERE???

Extended.
 
> as for ERE according to my best understanding special characters are
> not required to be escaped and if escaped then will lose there special
> meaning and on the contrary in BRE some special characters like ( )
> must be escaped otherwise they will be treated as literals.

Correct.

> If the regex processor is built on the squid itself or it is using the os default regex parser?

Generall the os default regex implementation. Squid also ships with a
copy of GNU Regex in case the OS regex implemetation to too broken.

Regards
Henrik
Received on Mon Jun 21 2010 - 08:59:50 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 22 2010 - 12:00:03 MDT