Fix regex for detecting warnings and errors in CMake logs
The changes introduced with !336 (merged) caused a regression as the code was relying on the captured groups.
This MR fixes the issue.
The changes introduced with !336 (merged) caused a regression as the code was relying on the captured groups.
This MR fixes the issue.