Predicate RegExp::getRegExpObjectFromNode
Gets the AST of a regular expression object that can flow to node.
Import path
import semmle.javascript.RegexpGets the AST of a regular expression object that can flow to node.
import semmle.javascript.Regexp