>-----Original Message-----
>From: wolfgang [mailto:[EMAIL PROTECTED]
>Sent: Sunday, May 01, 2005 2:03 PM
>To: users@spamassassin.apache.org
>Subject: Re: regexp: exclude a string
>
>
>In an older episode (Sunday 01 May 2005 12:49), Loren Wilton wrote:
>> > /p(?:0|o)rtf(?:0|o)(?:\||l)i(?:0|o)/
>> > but not portfolio
>> 
>> /(?!portfolio)p(?:0|o)rtf(?:0|o)(?:\||l)i(?:0|o)/
>
>thanks, works fine.
>
>wolfgang


Also I believe Loren has also told me to use this if you want to negate more
then one:

(?<!portfolio|portfoil)

But NOT to use:

(?<!p(ortfolio|ortfoil))

This has been your funky regex tip of the day :-)

--Chris 

Reply via email to