method

casefold?

v2_4_6 - Show latest stable - Class: Regexp
casefold?()
public

Returns the value of the case-insensitive flag.

/a/.casefold?           #=> false
/a/i.casefold?          #=> true
/(?i:a)/.casefold?      #=> false