On pon paź 30 2006, [email protected] wrote: > How can I tell vim to not tread & and ~ in a special way when using > substitute? > > compare > echo substitute(substitute('a','a','b','&'),'b','c &','') > and > echo substitute(substitute('a','a','b','&'),'b',substitute('c > &','\V\(&\|~\)','\\\1','g'),'') using substitute works but seems to be > more ugly when used in scripts?
:help escape() m.
