RegEx in multiple files multi-line pattern
Code Snippets
pcregrep -h -r --include=".*\.cs" -M "LogEvent\([\s\S]*?\)\;" .
-h: Exclude filenames
-r: recursive
--include: include file names that matches with the pattern
-M: multi-line mode
PATTERN: match all occurrence even if it is multi-line
Example: await ...