On Mon, Aug 24, 2009 at 12:27:48PM +0400, Vasiliy G Tolstov wrote:
> Hello again.
> 
> I have this 
> logwrite = ${if match{$h_date:}{/Mon|Tue|Wed|Thu|Fri|Sat|Sun/}
> {match}{notmatch}}
> 
> Then the message have Date: Mon, 24 Aug 2009 12:25:59 +0400
> 
> In exim log a got notmatch, why? regular expression is valid (tested
> with pcretest)...

Lose the "/" characters.  Currently you're looking for "/Mon", not "Mon".
(Likewise "Sun/").

-- 
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey

Attachment: signature.asc
Description: Digital signature

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to