> Hi,
>
> I would like to detect all returns that follow an if like that :
>
> if (condition1
> && condition 3 )
> return
>
> or
>
> if (condition1
> && condition 3 )
> // COMMENT
> /*
> *
> * ANOTHER COMMENT
> *
> */
> return
>
> Thanks
I detect this case
if ()
return
with that regexp : )\(\s\{0,20}\n\{0,20}\s\{0,20}\)\{0,20}return
How can I complete the rgexp to detect this case
if()
//
/* ***
********/
return
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment