Procmail recipe: extracting matched text
Michael Still
mikal at stillhq.com
Tue Dec 10 11:33:50 EST 2002
Hey,
now that we're talking about regexps, I am having some troubles finding
documentation which covers the text matching in procmail.
Specifically, I have a rule like:
:0:
* List-Id.*<([^.]*).*>
$1
Which should match any mailman mailling list, and then put the mail into a
folder named after the first portion of the list id.
However, $1 is clearly not the right way of getting to the text wrapped in
()'s.
Can I please have a hint what is?
Thanks,
Mikal
--
Michael Still (mikal at stillhq.com) UTC +11 hours
More information about the linux
mailing list