2011/10/29 Thilo Six <[email protected]>: > attached is a example file. When searching in there with: > /vi\|vim > or > /vim\|vi > > does not give the same results. Which is what i would expect.
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. -- 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
