CodeQL library for JavaScript
Search

Predicate RegExp::maybeIgnoreCase

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

Import path

import javascript
predicate maybeIgnoreCase(string flags)