xt0rted/dotnet-format-problem-matcher

Support new console format starting with v5.1.225507

xt0rted opened this issue · 1 comments

In v5.1.225507 the Diagnostic Id and error/warning level was added to the report & console output, as well as fully qualified file paths. These changes break the regex currently being used.

Current proposed regex:

/^\s*(.*)\((\d+),(\d+)\):\s+(.*)\s+(.*):\s+(.*)\s+\[(.*)\]$/gm

https://regex101.com/r/rDejc6/1