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

Member predicate RegExpLiteral::getFlagString

Gets the regexp flags as a string.

/foo/     # => ""
/foo/i    # => "i"
/foo/imxo # => "imxo"
string getFlagString()