Ivan Krasilnikov wrote the following on 29.10.2011 15:55

Hello Ivan,

-- <snip> --
> This is the intended behavior. From :help regexp:
> "A pattern is one or more branches, separated by "\|". ...
> If more than one branch matches, the first one is used."
> 
> So, /vi\|vim is same as /vi.

Thank you for the pointers.
I need to mentally keep a note about that for future.

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