procmail
[Top] [All Lists]

Re: [2.0] Re: Troubles with $MATCH

2003-12-09 13:31:37
On Tue, 9 Dec 2003, Birl wrote:
So by your definition, everything except @ should match until EOLN.

Sorry, that's not how regular expressions work. 
When a regex includes a logical 'not', then the occurence of that symbol
invalidates the match, and so regex tries for a shorter string.

Mailing-List: list Arreat_Avengers(_at_)yahoogroups(_dot_)com
MATCH would be "Arreat_Avengersyahoogroups.com

No, MATCH would be "Arreat_Avengers
That is the longest string that it can find which satisfies the match
against a CONTIGUOUS string of chacaters that do NOT include '@'.

From your example above, it appears you are treating the 'not' condition
as 'ignore' or 'omit' and that is not what it does.

- charles


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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