Re: Procmail regexp question
"Michael J Wise" <[email protected]> Mon, 17 Oct 2016 14:03:43 -0700
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
> I'd like to filter messages with one string but not another in the > ,subject line. For example, with "cat" but not "dog", so > "Subject: My cat" > is accepted but > "Subject: My cat hates dogs" > and > "Subject: My dog" > "Subject: My goat" > are not. If Memory Serves... * ^Subject: .*cat * ! ^Subject: .*dog Aloha mai Nai`a. -- = " So this is how Liberty dies ... http://kapu.net/~mjwise/ " To Thunderous Applause.