Dominique Pelle wrote:

> These 2 commands which only differ by using re=1 or re=2
> do not highlight the same text.  It's correct with re=2 and
> incorrect with re=1  (with re=1, the second line is not
> entirely highlighted, but it should be):
> 
> $ vim -u NONE --noplugin -N -c 'set hls re=1' \
>   -c 'call 
> feedkeys("aaaa\<cr>aaa\<cr>bbb\<cr>\<esc>/^.\\(.\\).\\_..\\1.\<cr>")'
> 
> $ vim -u NONE --noplugin -N -c 'set hls re=2' \
>   -c 'call 
> feedkeys("aaaa\<cr>aaa\<cr>bbb\<cr>\<esc>/^.\\(.\\).\\_..\\1.\<cr>")'
> 
> It was fine in vim-7.3.1190 and the regression
> started in 7.3.1191. It's also broken in the latest
> vim-7.3.1195.

Thanks for reporting.  It's easy to fix, but this shows multi-line
patterns need more testing, also with the old engine.

-- 
hundred-and-one symptoms of being an internet addict:
212. Your Internet group window has more icons than your Accessories window.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui