rspec/rules/S100/flex/rule.adoc

49 lines
698 B
Plaintext
Raw Normal View History

== Why is this an issue?
2020-06-30 10:16:44 +02:00
include::../description.adoc[]
=== Noncompliant code example
2020-06-30 10:16:44 +02:00
With default provided regular expression: ^[a-z][a-zA-Z0-9]*$
2022-02-04 17:28:24 +01:00
[source,flex]
2020-06-30 10:16:44 +02:00
----
function DoSomething(){...}
----
=== Compliant solution
2020-06-30 10:16:44 +02:00
2022-02-04 17:28:24 +01:00
[source,flex]
2020-06-30 10:16:44 +02:00
----
function doSomething(){...}
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
=== Parameters
.format
****
_STRING_
----
^[a-z][a-zA-Z0-9]*$
----
Regular expression used to check the [method|function|subroutine] names against
****
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]