Sed Regex for remove deprecated functions
I want to remove many deprecated functions in my hundreds php codes.
The pattern of this function usage are :
$foo->someFoo($someObject->deprecatedFunctions($v['data_index']));
What i want to do is format those line to :
$foo->someFoo($v['data_index']);
How to solve this problem with sed.
Thank you in advance !
No comments:
Post a Comment