26 lines
354 B
Plaintext
26 lines
354 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
With the default regular expression ``++[a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?++``:
|
|
|
|
----
|
|
DECLARE
|
|
constant_ CONSTANT PLS_INTEGER := 42; -- Noncompliant
|
|
BEGIN
|
|
NULL;
|
|
END;
|
|
/
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
DECLARE
|
|
constant CONSTANT PLS_INTEGER := 42; -- Compliant
|
|
BEGIN
|
|
NULL;
|
|
END;
|
|
/
|
|
----
|