Trying to update python:S1451 to comply with are header files for python to match.
#!/usr/bin/env python3
# Copyright © X
or
# Copyright © X
Rule: (^#!/usr/bin/env python3[\r\n]{1,2})?(^# Copyright \xA9 LFV$)
It matches when I try it on regex101.com with PCRE2.
But, I still get issues for python:S1451.
- What regexp flavour does SonarQube use?
- Is there a way to test the regexp with SonarQube?
BR,
Jimisola