Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ERLANG-0.1
-
Component/s: Erlang
-
Labels:None
-
Number of attachments :
Description
Name: Regular expression on comment
Paramets:
- regularExpression=The regular expression
- message=The violation message
Description:
<p> 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 ".*TODO.*" to match all comment containing "TODO". </p> <p> Note that, in order to match TODO regardless of the case, the "(?i)" modifier can be prepended to the expression, as in "(?i).*TODO.*". </p>
Should be disabled in default profile.
Issue Links
- depends upon
-
SONARPLUGINS-2473
Provide Erlang rule engine based on SSLR
-
Tested manually.