procmail
[Top] [All Lists]

Re: how can I eat the Re:

1997-04-17 07:24:00
Why didn't my attempt work? I really like to keep these things as simple
as possible.

On Wed, 16 Apr 1997, MAILBOX wrote:

On Thu, 17 Apr 1997, Robert Nicholson wrote:
I'm trying to capture all the subject without the Re:'s

:0
* ^Subject: *(Re: )*\/[^ ].*
{ SUBJECT=$MATCH }

This doesn't work.


Try this. It's ugly, but it works.

      * ^Subject: +(Re: )*\/(([^R].*|.[^e].*|..[^:].*)|..?$)

David


<Prev in Thread] Current Thread [Next in Thread>