method

casefold?

v1_9_3_392 - 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