How to write linux's grep regex to match multi line comment like this
/*
comment
body
*/
so grep matches 4 lines in the case as above. Note any of the single lines of the comment can start with white chars (for example tab or spaces)
I do not mind if the regex pattern also matches single line comment
/* comment body */
but this is not required since I already have a pattern addressing that need.
If matching multi line commend by using grep is not doable then I can use sed, awk, etc. But grep with its regex is preferred.