RE: Condensing multiple re, fw and fwds (was Removeing RE and Prefix)

2002-02-28 Thread Morse, Richard E.
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

RE: Removeing RE and Prefix

2002-02-28 Thread Morse, Richard E.
I think that I would still include the \s* after the \] in the regexp, because this will also remove any spaces following it Ricky -Original Message- From: Jym Dyer [mailto:[EMAIL PROTECTED]] Sent: Thursday 28 February 2002 4:07 PM To: [EMAIL PROTECTED] Subject: Re: Removeing RE and

Re: Condensing multiple re, fw and fwds (was Removeing RE and Prefix)

2002-02-28 Thread Earl Hood
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

Condensing multiple re, fw and fwds (was Removeing RE and Prefix)

2002-02-28 Thread Simeon Nevel
Jym Dyer <[EMAIL PROTECTED]> said: > > Re: Fwd: Re[2]: Fwd: Re: [sftest] ME TOO! > > without throwing "[sftest]" in there four more times. 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 preproce

Re: Removeing RE and Prefix

2002-02-28 Thread Jym Dyer
> Try: > > s/\[sftest\]//; > > The regular expression you're using requires that the > "[sftest]" be the first thing in the subject and must be > followed by a colon. =v= This is the right way to go, as it parallels the prevailing use of subject line keywords such as "[sftest]". Generally the

RE: Removeing RE and Prefix

2002-02-28 Thread Morse, Richard E.
Well, you could try one of the following regexps: s/\[sftest\]\s+//; This will remove the first '[sftest]' in the subject (even if not at the start of the subject line) s/^\s*(Re:\s?)?\s*\[sftest\]\s+/$1/; This will remove '[sftest]' following a 'Re:' followed by any numbe

Re: Removeing RE and Prefix

2002-02-28 Thread Earl Hood
On February 28, 2002 at 19:35, "Birger Mortensen" wrote: > Is there a way to remove old prefix'es ? > I am using : > > > s/^\[sftest\]://; ---^ Is this a typo? > > > > But it don't get subjects like this one :Re: [sftest] Hmm Og var til denne > via WEB The '^' in t

Re: Removeing RE and Prefix

2002-02-28 Thread Simeon Nevel
Birger Mortensen <[EMAIL PROTECTED]> said: > Is there a way to remove old prefix'es ? > I am using : > > > s/^\[sftest\]://; > Try: s/\[sftest\]//; The regular expression you're using requires that the "[sftest]" be the first thing in the subject and must be followed by a colon. The regu

Re: Converting message body in a rc file

2002-02-28 Thread Earl Hood
On February 27, 2002 at 12:50, Institute for Social Ecology wrote: > I am wondering if their is any simple way of generating a "chopped" > message body in a RC file. To elaborate a bit, I am working on a RC file > that generates a RSS file along side the regular index pages. I woudl ike > to po

Removeing RE and Prefix

2002-02-28 Thread Birger Mortensen
Is there a way to remove old prefix'es ? I am using : s/^\[sftest\]://; But it don't get subjects like this one :Re: [sftest] Hmm Og var til denne via WEB I have a test setup at http://mail.sf.dk/MHonArc/SFtest/ Im using MhonArc 2.5.1 on a ezmlm arkive Birger Mortensen

Re: Newbie Question re:Output

2002-02-28 Thread Earl Hood
On February 28, 2002 at 11:20, Nick Brigham wrote: > Is there a way to have MHonarc NOT rewrite the html of the maillist.html > page other than adding threads? > > To clarify, I have changed the and added notation that appears on > maillist.html. However, when I run mhonarc it overwrites what

Newbie Question re:Output

2002-02-28 Thread Nick Brigham
Is there a way to have MHonarc NOT rewrite the html of the maillist.html page other than adding threads? To clarify, I have changed the and added notation that appears on maillist.html. However, when I run mhonarc it overwrites what I have placed in there. A pointer to documentation for this