https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
[1]. http://en.wikipedia.org/wiki/ReDoS [2]. https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS