On Tuesday, June 4, 2013 11:30:09 PM UTC+3, ZyX wrote:

> `\(foo\)\@=` highlights f and matches zero-width as expected. If on your 
> system it does something else it is a bug.


Once again, the help states:

        Note that using "\&" works the same as using "\@=": "foo\&.." is the
        same as "\(foo\)\@=..".  But using "\&" is easier, you don't need the
        braces.

But if you try the two with "hls", you will see that they do *not* have the 
same effect.  In the example there, "foo" is highlighted in the \@= case but 
only "f" is in the "\&" case.  So at the very least, the help is incorrect.

-- 
-- 
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.


Raspunde prin e-mail lui