procmail
[Top] [All Lists]

Re: rule set problem

2002-10-24 17:43:16
Tom Allison skribis:
Ruud H.G. van Tol:
Tom Allison:

* ^From.*$MYDOMAIN

  * $ ^^From[  ].*$MYDOMAIN

I ended up going with
* $ ^^From .*$MYDOMAIN

What I do not understand is what my regex was asking for that
prevented it from working. 

The '$' in a regexp means end-of-line. Only when you 
add a dollar to the asterisk, the variables 
are recognized and expanded first.

BTW, the [  ] is a procmail-list-shorthand for [<space><tab>].
(a characterset with just 2 spaces inside is a strange thing)

-- 
Affijn, Ruud

_______________________________________________
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>