Re: [exim] Regex

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Alan J. Flavell
Data:  
Para: Peter Velan
CC: exim-users
Asunto: Re: [exim] Regex
On Thu, 16 Dec 2004, Peter Velan wrote:

> So i tried something like
>
> (?i)\scialis\s


You might find that \b is a better escape for this kind of matching

> Pcretest says ok and matches caseless "cialis" surrounded by
> whitespace. In the exim regex line this term doesn't matches. What
> I'm doing wrong?


We haven't seen this thing in context yet!

> Should I enclose the term with a pair of "\N"?


It would be my first try to fix it, yes.

The inevitable question would be "what happened when you tried it"?

Run the thing manually against exim, and see what it says (with
debugging if necessary), before putting it into production.