Hi ZyX!

On Fr, 22 Apr 2011, ZyX wrote:

> leave exactly one character with special meaning: backslash. I widely
> use this in scripts: ``'\V'.escape(str, '\').'\v''' will search for
> string, stored in str variable, no matter what characters this string
> does contain. This is somehow similar to perl's `/\Q$str\E/'.

True, that is how I do it as well.


regards,
Christian
-- 

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