That'll do it!
Thanks for the help.  I use this form of search and replace a lot on the 
command line so was very interested to save myself leaving the warm glow of Vim.

Have a great weekend!

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Raúl Núñez de Arenas Coronado
Sent: Thursday, April 16, 2009 3:08 PM
To: [email protected]
Subject: Re: Search and Replace Problem


Saluton Brian :)

On Thu 16 Apr 2009 20:18, Rogers +0200, Brian A. <[email protected]> dixit:
> Below is what I’m using
>
> :%s#/\*(.*)\*/#//\1#g

Shooting from the hip:

 :%s#/\*\(.*\)\*/#//\1#g

Unless you use "\v" (very magic, see ":help pattern").

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to