I'm regex biggest fan, thats a perfect idea Harmeet.

> -----Original Message-----
> From: Harmeet [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 30, 2001 3:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: AvalonListserv annoying cosmetic bug
> 
> 
> A random thought: From this thread it looks like the subject line
> translation/substitution should be expressed as a set of regular 
> expression
> rules in the conf. file.
> 
> What do you think ?
> 
> Harmeet
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 29, 2001 7:04 PM
> Subject: RE: AvalonListserv annoying cosmetic bug
> 
> 
> >
> > Random thought...
> >
> > As shown below, this would allow a subject line to be entered
> > Subject: message to the list [seemunky]
> >
> > Is this a flaw?  It's not really a prefix anymore...  it should 
> perhaps be
> > placed immediately after the Re/FW indicators, before the 
> actual subject -
> > if we're talking cosmetic.
> >
> > Another thought, should it remove the existing prefix in this 
> case?  What
> > if the prefix appears multiple times?
> > Subject: Re: Sending messages to the [seemunky] list...
> >
> > Regards,
> >
> > -Troy
> >
> > > From: "Danny Angus" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Subject: RE: AvalonListserv annoying cosmetic bug
> > > Date: Tue, 29 May 2001 17:04:22 +0100
> > >
> > > actually its in GenericListserv, it should n't remove the 
> prefix if its
> > > already there (IMHO) so that
> > > "Re:[prefix] blah" is a reasonable subject line to expect..
> > >
> > > this chunk:
> > >                 //If the "prefix" is in the subject line, 
> remove it and
> > > everything before it
> > >                 int index = subj.indexOf(prefix);
> > >                 if (index > -1) {
> > >                     if (index == 0) {
> > >                         subj = prefix + ' ' + subj.substring(index +
> > > prefix.length() + 1);
> > >                     } else {
> > >                         subj = prefix + ' ' + 
> subj.substring(0, index) +
> > > subj.substring(index + prefix.length() + 1);
> > >                     }
> > >                 } else {
> > >                     subj = prefix + ' ' + subj;
> > >                 }
> > >
> > > should be
> > >                 //If the "prefix" is in the subject line, 
> *dont* remove
> > it
> > >                 int index = subj.indexOf(prefix);
> > >                 if (index > -1) {
> > >                    //dont do anything anymore
> > >                 } else {
> > >                     subj = prefix + ' ' + subj;
> > >                 }
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Danny Angus [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 29, 2001 4:53 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: AvalonListserv annoying cosmetic bug
> > > >
> > > >
> > > >
> > > > the AvalonListserv mailet goes a bit awry with "RE:" and
> > <subjectprefix>
> > > >
> > > > it moves the subject prefix to the front every time, so my mail
> > > > client adds another "RE:"
> > > >
> > > > for EG; "RE: [seemunky] RE: RE: RE: test"
> > > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to