CodeQL library for Ruby
codeql/ruby-all 0.8.15-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()