Hi Bram!
On Sa, 16 Feb 2013, Bram Moolenaar wrote:
>
> Christian Brabandt wrote:
>
> > I think I've found a bug with the regular expression engine:
> >
> > ~$ vim -u NONE -N
> > :$put ='foobar'
> > :$put =''
> > :$put =''
> > :/foobar/
> > :call search('foobar', 'c')
> > " Note how the cursor
Christian Brabandt wrote:
> I think I've found a bug with the regular expression engine:
>
> ~$ vim -u NONE -N
> :$put ='foobar'
> :$put =''
> :$put =''
> :/foobar/
> :call search('foobar', 'c')
> " Note how the cursor /does not/ move
> :+
> :call search('^$', 'c')
> " Note, that the cursor /mov
Bram,
I think I've found a bug with the regular expression engine:
~$ vim -u NONE -N
:$put ='foobar'
:$put =''
:$put =''
:/foobar/
:call search('foobar', 'c')
" Note how the cursor /does not/ move
:+
:call search('^$', 'c')
" Note, that the cursor /moves/ one line down, although the 'c' flag is
"