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

Predicate RegExp::getRegExpFromNode

Gets the AST of a regular expression that can flow to node, including RegExp objects as well as strings interpreted as regular expressions.

Import path

import javascript
RegExpTerm getRegExpFromNode(Node node)