Re: [bug] with regular expression and SEARCH_START flag

2013-02-16 Fir de Conversatie Christian Brabandt
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

Re: [bug] with regular expression and SEARCH_START flag

2013-02-16 Fir de Conversatie Bram Moolenaar
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

[bug] with regular expression and SEARCH_START flag

2013-02-16 Fir de Conversatie Christian Brabandt
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 "