Lloyd Standish:
[please explain]
*$ ^Cc:.*\/[^$WSP].*
That is equivalent to:
*$ ^Cc:[$WSP]*\/[^$WSP].*
because \/ is greedy to the right.
Effectively it means that MATCH will either be empty (when there is no
Cc: header field, or when the Cc: header field is empty or
whitespace-only) or that MATCH will get all characters (see the '.*' at
the end), starting at the first non-whitespace character (see the
[^$WSP]), out of the body of the Cc: header field.
With a Cc: header field like
Cc: test1
test2
the MATCH variable will become 'test1 test2'.
The limited whitespace between 'test1' and 'test2' is caused by the
unfolding functionality of procmail, not by anything in the recipe.
--
Grtz, 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