Thilo Six wrote the following on 29.10.2011 16:07

hello,

-- <snip> --

>> So, /vi\|vim is same as /vi.
> 
> Thank you for the pointers.
> I need to mentally keep a note about that for future.


,----[ :help regexp ]-------------------------

If more than one branch matches, the first one is used.
`---------------------------------------------

I don't speak c, so why is there the limitation mentioned above?
It can't be for performance because both searches are equally fast (humanly
speaking). But it breaks expectations as i tell vim to search for 'vi' OR 'vim'
in both cases.
Maybe if i understand the technical background i get more used to it.

-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


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

Raspunde prin e-mail lui