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 /moves/ one line down, although the 'c' flag is
> " given and so the cursor should stay in its actual position
> :call search('^$', 'bc')
> " Note, that when searching backwards, the cursor /does not/ move as
> " expected.
>
> Sorry for this brief explanation. I hope, you see the problem.
> I am kind of busy currently, so I can't provide a detailed bug report or
> a patch.
I can reproduce it. I hope you can find a fix when you are not busy.
--
Mynd you, m00se bites Kan be pretty nasti ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.