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