Thank you Oliver.
Yours is by far the best solution, as you match the Einstein dictum:

"Everything should be made as simple as possible, but not one bit simpler."

Regards,
Franz

On Thu, Jan 27, 2011 at 9:34 AM, Oliver Rath <[email protected]> wrote:

> Maybe its easier, to reduce \\ to \ and expand THEN all \ to \\.
>
> Hth
>
> Oliver
>
> Am 26.01.2011 03:24, schrieb Wayne Young:
> > Hi, all,
> >
> >   I have a text containing both "\" and '\\". Now I want to replace all
> > the "\" to "\\", but leave those have already been "\\" alone. How can I
> > achieve this?
> >
> > --
> > 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
>
> --
> 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
>

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