On Saturday, March 10, 2012 8:11:31 AM UTC-6, macovsky wrote:
> hi guys, could you please help me how to escape @ in search patterns?
> 
> for instance i'd like to search for @product.

You shouldn't need to escape it at all. @ is not special by itself. To make it 
special you need to use one of:

\@> 
\@= 
\@! 
\@<=
\@<!
\@>

If you use "very magic" \v in your pattern, you will need to escape the @ with 
a \.

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