2021-04-28 16:49:39 +02:00
|
|
|
Shared coding conventions allow teams to collaborate efficiently. This rule checks that paragraph names match a provided regular expression.
|
|
|
|
|
2021-04-28 18:08:03 +02:00
|
|
|
|
2021-04-28 16:49:39 +02:00
|
|
|
== Noncompliant Code Example
|
|
|
|
|
|
|
|
With a regular expression of ``++[A-Z-]+++``:
|
|
|
|
|
|
|
|
----
|
|
|
|
PROCEDURE DIVISION.
|
|
|
|
|
|
|
|
Do_The_Thing. *> Noncompliant
|
|
|
|
----
|
|
|
|
|
2021-04-28 18:08:03 +02:00
|
|
|
|
2021-04-28 16:49:39 +02:00
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
----
|
|
|
|
PROCEDURE DIVISION.
|
|
|
|
|
|
|
|
DO-THE-THING *> Noncompliant
|
|
|
|
----
|
2021-04-28 18:08:03 +02:00
|
|
|
|