On Fri, Dec 07, 2001 at 01:16:05PM -0600, David W. Tamkin wrote:
:0:
* ^List-.*\.isp-lists\.com>$
* ^List-Unsubscribe:.*:leave-isp-\/(colo|webhosting|equipment)
$MATCH
Well, if you're going to go that route, you could as easily make it:
:0:
* ^List-.*\.isp-lists\.com>$
* ^List-Unsubscribe:.*:leave-\/isp-[a-z]+
$MATCH
in order to avoid having to include specific lists in your procmail
rules, but that doesn't cover the possibility that a list name will
include a non-alpha character. (I haven't checked whether there are
any isp- mailing lists with more than one hyphen in their names.)
and every time I joined another list at that host, I'd add its name and
delete names of lists I had unsubbed from.
More work. Feh.
But what would happen if I used
leave-isp-\/(colo|colonoscopies|webhosting|equipment)
instead? Would messages from the colonoscopies list be matched to "colo"
I don't have a login at ieee.org, so I can't browse the interpretations
database, but I'm pretty sure that 1003.2 defines only *whether* a
regexp will match, and any parsing of the regexp to identify its parts
(besides backreferences to atoms in brackets) would be implementation-
specific (as it is in procmail). If that's the case, then the correct
answer is "mu".
How's that for a long way to say "I don't know"? ;-)
instead? (And a big public merry Christmas to the first ten people who tell
me where I can stick messages from the colonoscopies list.)
I don't even want to think about that 'action'. ;)
--
Paul Chvostek
<paul(_at_)it(_dot_)ca>
Operations / Development / Abuse / Whatever vox: +1 416 598-0000
IT Canada http://www.it.ca/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail