Hi Greg!

On Mi, 02 Jun 2010, Greg Klein wrote:

> > 
> > Try this:
> > /^\(.*cats.*\)\&\(.*dogs.*\)$
> > 
> > This finds any line which contains cats and dogs in any order.
> 
> Yes, and I think that this pattern could be simplified to
> /.*cats\&.*dogs
> See similar example given by :help /\&

True. But my highlighting looks prettier ;)

regards,
Christian
-- 
Seien wir mal ehrlich,
Das Leben ist immer lebensgefährlich.
                -- Erich Kästner

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