I need to search for a particular function in a shell script and replace it with the modified function for which I can use sed inplace editor. But I am not able to correctly parse for the function. Can I have a regular expression to search for the function which is of the form
function()
{
no other braces in between
}
function()
{
no other braces in between
}
Comment