Re: [exim] case insensitive regex matching?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Daniel Tiefnig
Cc: exim-users
Asunto: Re: [exim] case insensitive regex matching?
On Thu, 9 Dec 2004, Daniel Tiefnig wrote:

> Tony Finch wrote:
> > > Is it possible to ignore case differences?
> >
> > Perlish regex options like /regex/i can also be specified like /(?i)regex/
> > or /(?i:regex)/
>
> Hmmm.
> | virtual_user router failed to expand "...": regular expression error
> | in "^(?i": unrecognized character after (? at offset 4


You used this somewhere in a list that is colon-separated, didn't you?
Note that it thinks the entire regex is "^(?i". That's the clue.

-- 
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