Re: [Exim] Case insensitive match

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Peter Bowyer
Cc: exim-users
Asunto: Re: [Exim] Case insensitive match
On Mon, 10 May 2004, Peter Bowyer wrote:

> Maykel Moya <maykel.moya@???> wrote:
> > How can I do a case insensitive match{}{} ?
>
> /i on the end of the regex. See doc/pcrepattern.txt in the distribution or
> just about any regular expression tutorial.


No, that syntax is not supported in Exim match{}{} conditions in string
expansions.

Put (?i) at the start of your regex. This is indeed documented in
doc/pcrepattern.txt.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book