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

Predicate RegExp::isGlobal

Holds if flags includes the g flag.

Import path

import javascript
predicate isGlobal(string flags)