Re: [exim] Regex

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Alan J. Flavell
日付:  
To: Peter Velan
CC: exim-users
題目: 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.