On Sep 22, 6:14 am, "Ricky" <[email protected]> wrote:
> Hi,
>
> Here is the sample:
>
> /*comments/*comments
> /*comments/*comments
> ...comments...comments*/
>
> If I want to remove the /* inside first /* and last */, how to do that?
> I tried to use \_. and \@<=, but not very accurate.
Without you telling us the exact pattern you tried using, I need to
guess at your problem. Perhaps you are using a greedy search,
including something like \_.* when in fact you want the non-greedy \_.\
{-} instead. I see you already know about some of the zero-width
matches, but \...@! might also be helpful.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---