org.sonar.l10n.py.rules.python.CommentRegularExpression.html Maven / Gradle / Ivy
Why is this an issue?
This rule template can be used to create rules which will be triggered when a comment matches a given regular expression.
For example, one can create a rule with the regular expression .*REVIEW.*
to match all comment containing "REVIEW".
Note that, in order to match REVIEW regardless of the case, the (?i)
modifier should be prepended to the expression, as in
(?i).*REVIEW.*
.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy