rxp.eql?(other_rxp) â true or false
Instance Public methods
EqualityâTwo regexps are equal if their patterns are identical, they have
the same character set code, and their casefold?
values are
the same.
/abc/ == /abc/x #=> false /abc/ == /abc/i #=> false /abc/ == /abc/u #=> false /abc/u == /abc/n #=> false
Please login to continue.