CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.1 (changelog, source)
Search

Member predicate DataFlow::RegExpCreationNode::getRoot

Gets the root term of the created regular expression, if it is known.

Has no result for calls to RegExp with a non-constant argument.

RegExpTerm getRoot()