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

Member predicate DataFlow::RegExpConstructorInvokeNode::getFlags

Gets the flags provided in the second argument, or an empty string if no flags are provided.

Has no result if the flags are provided but are not constant.

string getFlags()