rspec/rules/S4784/exceptions.adoc

5 lines
270 B
Plaintext
Raw Normal View History

2020-06-30 12:49:37 +02:00
== Exceptions
2021-01-27 13:42:22 +01:00
Some corner-case regular expressions will not raise an issue even though they might be vulnerable. For example: ``++(a|aa)+++``, ``++(a|a?)+++``.
It is a good idea to test your regular expression if it has the same pattern on both side of a \"``++|++``".