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

Member predicate DataFlow::RegExpConstructorInvokeNode::tryGetFlags

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

string tryGetFlags()