CodeQL library for Ruby
codeql/ruby-all 4.1.2-dev (changelog, source)
Search

Member predicate RegExpLiteral::hasCaseInsensitiveFlag

Holds if the regexp was specified using the i flag to indicate case insensitivity, as in the following example:

/foo/i
predicate hasCaseInsensitiveFlag()