Files
codeql/javascript/ql/src/RegExp/MalformedRegExp.ql
Anders Schack-Mulligen e58094c732 Javascript: Autoformat.
2019-01-11 11:02:42 +01:00

18 lines
496 B
Plaintext

/**
* @name Malformed regular expression
* @description Regular expressions that do not adhere to the ECMAScript standard may be interpreted
* differently across platforms and should be avoided.
* @kind problem
* @problem.severity recommendation
* @id js/regex/syntax-error
* @tags portability
* maintainability
* regular-expressions
* @precision low
*/
import javascript
from RegExpParseError repe
select repe, "Malformed regular expression: " + repe + "."