"[char]*$" S&R regexp doing double-pass?

Lester M Petrie petrielmjr at ornl.gov
Tue Feb 24 17:09:17 CET 2009


Hi
On Tuesday 24 February 2009 10:41:51 Bert Wesarg wrote:
> On Tue, Feb 24, 2009 at 15:08, Offer Kaye <offer.kaye at gmail.com> wrote:
> > Hi,
>
> Hi,
>
> > I'm not sure whether this is a bug or feature.
> > I first noticed it when using the regexp "\s*$" in the "Find" section
> > of the "Find and Replace" dialog, and doing a (regexp) replace for
> > some character, for example ";", I see ";" inserted twice if there are
> > one or more space characters at the end of the line, instead of just
> > once (as is the case if there are no spaces).
> >

>
> Can't reproduce with:
>
> NEdit release of Nov  5, 2008
>
>      Built on: Linux, x86-64, GNU C
>      Built at: Feb 24 2009, 16:29:35
>    With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
> Running Motif: 2.2 [unknown]
>        Server: The X.Org Foundation 10502000
>        Visual: 24-bit TrueColor (ID 0x25, Default)
>        Locale: en_US.UTF-8
>
> Which version are you using?
>
> Bert

I do reproduce this behavior with :

5.6 [Under Development] HEAD
Nov 26, 2007

     Built on: Linux, 386, GNU C
     Built at: Sep 16 2008, 17:17:19
   With Motif: (Untested) 2.3.1 [@(#)Motif Version 2.3.1]
Running Motif: 2.3 [@(#)Motif Version 2.3.1]
       Server: The X.Org Foundation 10503000
       Visual: 24-bit TrueColor (ID 0x21, Default)
       Locale: en_US



-- 
Lester M Petrie
Oak Ridge National Lab
865-574-5259


More information about the Discuss mailing list