procmail
[Top] [All Lists]

Re: spaces in conditions

2005-08-10 08:21:50
On Wed, Aug 10, 2005 at 08:44:26AM -0500, Jason Joines wrote:
Dallman Ross wrote:

Perhaps the OP would prefer this, anyway:

  * ()\<cialis\>

I [. . .] went ahead with the * ()\<cialis\> idea.  It worked
perfectly but I don't know why as I'm pretty bad at understanding
regular expressions.  What is this one saying character by
character?

A quick read of "man procmailrc" would help here.  :-)


       \< or \> Match the character before or after a word.  They
                are merely  a shorthand for  `[^a-zA-Z0-9_]', but
                can also match newlines.  Since they match actual
                characters,  they are  only  suitable to  delimit
                words, not to delimit inter-word space.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>