rspec/rules/S115/flex/rule.adoc

33 lines
559 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression ``++^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$++``:
----
public static const first:String = "first";
----
== Compliant Solution
----
public static const FIRST:String = "first";
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../parameters.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]