procmail
[Top] [All Lists]

RE: block mail by compairing word in subject

2005-04-27 12:58:21
I wrote:
Since what matches to the right of the `\/' match token is
rightward-greedy, your `+' there is essentially meaningless.

Although the match token is, indeed, rightward-greedy, the
expression is not so descriptively helpful here.  Let's put it 
another way: without the match token, procmail will only go as 
far to the right as it absolutely needs to, to save effort.  
So, given a choice of matching one whitespace char or many, 
procmail will stop at one and say, "I've satisfied the 
criterion!"

The match token in the OP's example (cut here) simply 
started matching at the next char (denoted by a regex dot) 
after the criterion cited.  That character can easily be 
more whitespace.

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