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
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