Robert Chan wrote:
> I'm wondering if there's a more compact way to match both
> 'foo' and 'bar' appearing on the same line than:
> \(foo*bar\)\|\(bar*foo\)

See "Finding two words in either order" at:
http://vim.wikia.com/wiki/Search_patterns

John

-- 
You received this message from the "vim_use" 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

Reply via email to