I am trying to match the List-subscribe header on a few mailing list
that don't provide List-name or List-post but do provide list-
subscribe or list-digest, so I want to match on the mailto: up to the
occurance of either -subscribe -on or -digest, but I can't remember
how, in procmail, to trim off the right part of a $MATCH
* ^List-Subscribe:(.*)<mailto:\/[-A-Z0-9_+]+
{ SUBLINK = $MATCH }
so, $SUBLINK will contain, for example,
users-somelist-on
someotherlist-subscribe
damin-YAL-digest
--
"Alas, earwax."
____________________________________________________________
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