Friday, April 29, 2011

regex for special chars

hi,

searching for "^[[K^[[?1l^[>" using "/" works.
but when i use the same string in :%s, it says
the pattern is not found. how to make it recongnize
as "/" does. or is there any way to automatically
convert the string to equivalent regexp that :%s
understands.

thanks

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

No comments:

Post a Comment