Home

Track comments matching a regular expression

Description

    The Pl_Sql code rule "Track comments matching a regular expression" is used to identify and track comments in a program that match a given regular expression. This rule can be used to identify and track comments that contain specific keywords or phrases, or to identify and track comments that follow a specific pattern. This rule can be used to ensure that comments are consistent and adhere to a specific coding standard.

Key Benefits

  • Accuracy: Track comments matching a regular expression rule ensures accuracy in detecting comments.
  • Time Saving: It saves time by allowing you to quickly identify comments that match a certain pattern.
  • Flexibility: It provides flexibility by allowing you to customize the regular expression rule to fit your needs.
  • Ease of Use: It is easy to use and requires minimal setup.

 

Non-compliant Code Example

/*
* Review Comments
*/
BEGIN
  NULL;	--REVIEW  --Non compliant code (Tracked comment matching expression)
END;
Visual Expert 2024
 VEPLSQLRULE169