On Jun 2, 2:59 pm, caruso_g <[email protected]> wrote:
> Is there a way not to escape RE but escape just keywords like /w /d
> and so on?

Yes. Start your regex with \v (see :help /\v).

So, this:

/^\(.*cats.*\)\&\(.*dogs.*\)$

Becomes this:

/\v^(.*cats.*)&(.*dogs.*)$

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