From clamav-devel-bounces@lists.clamav.net  Thu May 21 17:05:18 2009
Return-Path: <clamav-devel-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id o-FUo8KqLVya; Thu, 21 May 2009 17:05:16 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 737CC31C035;
	Thu, 21 May 2009 17:05:11 +0200 (CEST)
X-Original-To: clamav-devel@tad.clamav.net
Delivered-To: clamav-devel@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id m2V-zw6r6QXL for <clamav-devel@tad.clamav.net>;
	Thu, 21 May 2009 17:05:08 +0200 (CEST)
X-Greylist: delayed 2528 seconds by postgrey-1.27 at tad;
	Thu, 21 May 2009 17:05:08 CEST
Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102])
	by tad.clamav.net (Postfix) with ESMTP id 68EF716C2B5
	for <clamav-devel@lists.clamav.net>;
	Thu, 21 May 2009 17:05:08 +0200 (CEST)
Received: from lmtp1.ucs.ed.ac.uk (lmtp1.ucs.ed.ac.uk [129.215.149.64])
	by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id n4LEMxNF005444
	for <clamav-devel@lists.clamav.net>;
	Thu, 21 May 2009 15:22:59 +0100 (BST)
Received: from dlib-cuillin.ucs.ed.ac.uk (dlib-cuillin.ucs.ed.ac.uk
	[129.215.169.70])
	by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id n4LEMxPp021415
	for <clamav-devel@lists.clamav.net>;
	Thu, 21 May 2009 15:22:59 +0100 (BST)
Message-Id: <1874FF18-1927-49D9-B1EB-E52ADC54F398@gmail.com>
From: Mark Allan <markjallan@gmail.com>
To: ClamAV Development <clamav-devel@lists.clamav.net>
In-Reply-To: <20090521161940.34716342@Quad>
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Thu, 21 May 2009 15:25:30 +0100
References: <mailman.1.1242208804.15758.clamav-devel@lists.clamav.net>
	<Pine.LNX.4.58.0905131115420.9068@mail3.jubileegroup.co.uk>
	<40FF3EB574329C459B49338F779CE44E015D905BC7@bosmail2k7.advent.com>
	<DBF3D749-77A5-4C8C-8B62-E63F6F7BD30E@gmail.com>
	<20090521161940.34716342@Quad>
X-Mailer: Apple Mail (2.935.3)
X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk
	with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102
X-Scanned-By: MIMEDefang 2.52 on 129.215.149.64
Subject: Re: [Clamav-devel] PATCH: Enhanced exclude / include support for
	clamscan
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV Development <clamav-devel@lists.clamav.net>
List-Id: ClamAV Development <clamav-devel.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-devel@lists.clamav.net>
List-Help: <mailto:clamav-devel-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: clamav-devel-bounces@lists.clamav.net
Errors-To: clamav-devel-bounces@lists.clamav.net


On 21 May 2009, at 3:19 pm, Tomasz Kojm wrote:
> On Tue, 19 May 2009 15:49:23 +0100
> Mark Allan <markjallan@gmail.com> wrote:
>
>> It would also eliminate another issue I've had to work
>> around which is the lack of case-insensitive regex matching - I could
>
> BTW, the SVN version of ClamAV supports case-insensitive regex  
> matching.You
> just need to precede the regex with (?i), eg.
>
> clamscan --exclude-dir="(?i)^/SyS$"
>
> will skip /sys, /Sys, /sYs, /syS, /SYs, /SyS, /sYS, and /SYS :-)

Yeah I spotted that this morning.  Superb news on that and the --file- 
list option.  Thanks :-)
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

