sonar-cxx icon indicating copy to clipboard operation
sonar-cxx copied to clipboard

Add an regex sensor (like 'other' XML sensor)

Open guwirth opened this issue 9 years ago • 1 comments

Hi,

Like to add an generic regex sensor like our 'other' XML sensor. Looking to our code we have two different kinds of sensors:

  • reading/parsing XML files
  • reading parsing LOG files with regex

Other sensor like Compiler, Clang-Tidy could derive from this one with the difference that there rules are build-in.

Sample:

sonar.cxx.regex.rules=...
sonar.cxx.regex.pattern=...
sonar.cxx.regex.reportPath=...

What are you thinking?

Regards,

guwirth avatar Mar 09 '17 08:03 guwirth

Prepared with PR #1533

guwirth avatar Oct 01 '18 09:10 guwirth