rspec/rules/S4784/exceptions.adoc

6 lines
271 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?)+++``.
2021-02-02 15:02:10 +01:00
2021-01-27 13:42:22 +01:00
It is a good idea to test your regular expression if it has the same pattern on both side of a \"``++|++``".