Re: [squid-users] regexp

From: Lucas Brasilino <brasilino@dont-contact.us>
Date: Mon, 02 Dec 2002 08:04:08 -0300

Hi Henrik

>>I want to block some file type...for example .mp3 .avi but if i
>>use:
>>
>>acl STREAM url_regex -i .mp3 .avi
>>
>>i block also sites as http://www.avis.it.
>>
>>what regular expression i must use to block only extension ??
>>
>
> -i \.mp3$ \.avi$
>

        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:05:51 MST

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