CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (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()