We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7f498 commit 59c78b0Copy full SHA for 59c78b0
javascript/ql/lib/semmle/javascript/dataflow/Nodes.qll
@@ -1682,6 +1682,9 @@ class RegExpCreationNode extends DataFlow::SourceNode {
1682
result = this.(RegExpLiteralNode).getFlags()
1683
}
1684
1685
+ /** Holds if the constructed predicate has the `g` flag. */
1686
+ deprecated predicate isGlobal() { RegExp::isGlobal(this.getFlags()) }
1687
+
1688
/** Gets a data flow node referring to this regular expression. */
1689
private DataFlow::SourceNode getAReference(DataFlow::TypeTracker t) {
1690
t.start() and
0 commit comments