Re: [squid-users] regexp

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 02 Dec 2002 12:15:51 +0100

From squid.conf.default acl documentation:

        By default, regular expressions are CASE-SENSITIVE. To make
        them case-insensitive, use the -i option.

        acl aclname url_regex [-i] ^http:// ... # regex matching on
whole URL
        acl aclname urlpath_regex [-i] \.gif$ ... # regex matching
on URL path

And yes, Squid uses a standard regex library, either the one in your
libc or GNU regex depending on how you build Squid. Functionality should
be equivalent in both cases.

mån 2002-12-02 klockan 12.04 skrev Lucas Brasilino:

> What does this "-i" options do?? Within "egrep" it means
> to ignore case. In squid it means equal??
> Does squid uses glibc's regexp functions?? (man 3 regex)
>
> bests regards
>
> --
>
> []'s
> Lucas Brasilino
> brasilino@recife.pe.gov.br
> http://www.recife.pe.gov.br
> Emprel - Empresa Municipal de Informatica (pt_BR)
> Municipal Computing Enterprise (en_US)
> Recife - Pernambuco - Brasil
> Fone: +55-81-34167078
Received on Mon Dec 02 2002 - 04:16:08 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:48 MST