Closed AlmeidaAndre closed 4 years ago
Hi @AlmeidaAndre ,
thank you for reporting this. The issue is based on using the /g
flag inside your regex. I could verify this in a unit test, that if you omit this and just use / warning\: /
as the Warning Filters, it should return all 4 warnings.
Best Lukas
Hi @woehrl01 ,
I tested without /g
, and all warnings were returned.
Thank you for your help!
@AlmeidaAndre We found the root cause for the issue and made a small change to the task to ensure that regular expressions that use the global flag (/g) also work properly. Thank you again for reporting this and helping us improve the task quality!
Happy building! René
I use Build Quality Checks task to check for Doxygen warnings.
The task is configured as follows:![image](https://user-images.githubusercontent.com/29406870/65049254-d7e64100-d93b-11e9-829c-d88ab06f8a17.png)
The doxygen warnings I have are like the following:
For warnings like the above, the Build Quality Checks task gives me the output below:
It is counting only half the total number of warnings. I tested the warning filter regex in www.regex101.com, and it matched all occurrences.
I have tried to test others regexin the task, but nothing seens to match all occurrences.
Could you guys help me? Thanks in advance.