RE: [squid-users] Regex

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 31 May 2005 13:03:50 -0800

> -----Original Message-----
> From: johnsuth@acenet.com.au [mailto:johnsuth@acenet.com.au]
> Sent: Tuesday, May 31, 2005 10:56 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Regex
>
>
>
> The mime.conf file employs a dollar at the end of regex for file
extensions.
> e.g. \.exe$
>
> I omitted the dollar in my own blacklist of filetypes, and the ACL seems
to deny the
> download of filetypes that I don't want.
>
> How does the dollar make a difference?

The dollar sign matches the end of string. For more information, a good
regular expression resource is http://www.regular-expressions.info/

Chris
Received on Tue May 31 2005 - 15:03:53 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:04 MDT