LuKreme schreef:
Dallman Ross:
* $ ^From:.*\/[^$WS].*
I prefer to match on know characters when possible than just
wildcarding for any old thing.
And that is what that does.
1. The match operator \/ is first greedy-to-the-left, then
greedy-to-the-right.
2. The .* at the left of the match operator is non-greedy, because of
the match operator.
This all simply means that the .* in the middle is first tried with
length 0, then with length 1, etc.
(The behaviour of the .* at the end is greedy, because it is at the
right side of the match operator.)
--
Groet, Ruud
____________________________________________________________
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