include::../description.adoc[]

include::../ask-yourself.adoc[]

include::../recommended.adoc[]

== Sensitive Code Example

----
const regex = /(a+)+b/; // Sensitive
const regex2 = new RegExp("(a+)+b"); // Sensitive

str.search("(a+)+b"); // Sensitive
str.match("(a+)+b"); // Sensitive
str.split("(a+)+b"); // Sensitive
----
Note: String.matchAll does not raise any issue as it is not supported by NodeJS.

include::../exceptions.adoc[]

include::../see.adoc[]

ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

include::../message.adoc[]

include::../highlighting.adoc[]

'''
== Comments And Links
(visible only on this page)

=== on 9 Dec 2018, 23:04:27 Lars Svensson wrote:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions

include::../comments-and-links.adoc[]

endif::env-github,rspecator-view[]
