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

Predicate RegExp::maybeGlobal

Holds if flags includes the g flag or is the unknown flag ?.

Import path

import javascript
predicate maybeGlobal(string flags)