org.sonar.l10n.delphi.rules.community-delphi.CommentRegularExpression.html Maven / Gradle / Ivy
The newest version!
Why is this an issue?
This rule template allows you to track the use of comments matching a given regular expression.
Note that the regular expression must match the full text of the comment and will be executed
in dotall mode (where the .
character matches any character, including newlines).
For example, one can create a rule with the regular expression .*REVIEW.*
to match all comments containing "REVIEW". To match REVIEW regardless of the case, the
(?i)
modifier should be prepended to the expression: (?i).*REVIEW.*
.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy