You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Apply a validations on a regular expression to ensure that is not prone to the ReDOS attack.
1294
1294
* <br>If your technology is supported by <a href="https://github.com/doyensec/regexploit">regexploit</a> then <b>use it instead of this method!</b>
1295
-
* <br>Indeed, the <a href="https://www.doyensec.com/">doyensec</a> team has made an intensive and amazing work on this topic.
1295
+
* <br>Indeed, the <a href="https://www.doyensec.com/">Doyensec</a> team has made an intensive and amazing work on this topic and created this effective tool.
1296
1296
*
1297
-
* @param regex String expected to be a valid regular expression.
1297
+
* @param regex String expected to be a valid regular expression (regex).
1298
1298
* @param data Test data on which the regular expression is executed for the test.
1299
1299
* @param maximumRunningTimeInSeconds Optional parameter to specify a number of seconds above which a regex execution time is considered as not safe (default to 4 seconds when not specified).
1300
1300
* @return True only if the string pass all validations.
0 commit comments