RegEx in multiple files multi-line pattern

pcregrep -h -r --include=".*\.cs" -M "LogEvent\([\s\S]*?\)\;" .

Example: await LogEvent($"This is a test message that has embedded {property}");

pcregrep -h -r --include=".*\.cs" -o1 -M "LogEvent\(([\s\S]*?)\)\;" .

Revision #6
Created 2024-05-08 11:59:57 UTC by Admin
Updated 2025-05-09 16:42:25 UTC by Admin