On 28 Feb 2002 at 21:57, Simeon Nevel wrote:
>
> I currently preprocess my incoming messages with a perl prog consisting
> a long series of regexps to deal with this.
Someone asked that I post my perl pre-processor that deals with multiple re &
fwd strings.
It also handles some other stuff
Completely untested, but you could try:
s/(Re:\s*|Fwd:\s*)+/Re:/
Note, of course, that this turns all 'Fwd:'s into 'Re:'s
Ricky
-Original Message-
From: Simeon Nevel [mailto:[EMAIL PROTECTED]]
Sent: Thursday 28 February 2002 4:57 PM
To: [EMAIL PROTECTED]
Subject: Condensing multiple re
On February 28, 2002 at 21:57, Simeon Nevel wrote:
> > Re: Fwd: Re[2]: Fwd: Re: [sftest] ME TOO!
> While we're on the subject.. is there a single regexp that can reduce an
> an abitrary collection of Re's and Fwd's to a single Re: ?
>
> I currently preprocess my incoming messages with a perl