From: "Scott Taylor" Subject: Re: squid regex Date: Thu, 12 May 2005 08:45:04 -0700 (PDT) Message-ID: <2293.192.168.99.70.1115912704.squirrel@192.168.99.70> References: <200505121714.28539.fluca1978@infinito.it> <2237.192.168.99.70.1115911900.squirrel@192.168.99.70> <200505121740.04346.fluca1978@infinito.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <200505121740.04346.fluca1978@infinito.it> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Luca Ferrari said: > On Thursday 12 May 2005 17:31 your cat walking on the keyboard wrote: > >> I have something a line like this for catching Windoze file extentions: >> acl WinExecs url_regex -i \.exe \.bat \.dll \.zip \.gz \.scr \.rar \.wmv >> \.mov >> http_access deny WinExecs >> > > That answers my question, thus it seems as the dot works as I said, Not really as you said, it doesn't have to end in '.rar' and the '.' could be filled with any character unless you escape it with a '\', thus '\.rar' but will still not only end in '\.rar' unless you tell it to check the end only by appending a '$' to the RegEx, like so '\.rar$' Here it works mostly like RegEx in awk, sed and grep. :) -- Scott