Justin Gombos:
Ruud H.G. van Tol:
:0
* B ?? ()\/^.*^.*^.*^.*^.*^.*(^ *)*^^
* MATCH ?? ()\<\/[-_a-z0-9(_dot_)]+(_at_)[-_a-z0-9(_dot_)]+
{ SIGADD = "$MATCH" }
Not bad.
There is always room for improvement:
SPC = ' '
TAB = ' '
WSP = "$SPC$TAB"
F = '(^.*[^$WSP].*)' # a filled line
E = '(^[$WSP]*)' # an empty line
P = "$F+$E+" # a paragraph
:0
*$ B ?? ()\/$P^^
* MATCH ?? ()\<\/[-_a-z0-9(_dot_)]+(_at_)[-_a-z0-9(_dot_)]+
{ SIGADD = "$MATCH" }
This assumes that the body ends in an empty line,
but that is easy to change:
*$ B ?? ()\/$P$F*^^
--
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