==

rxp == 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
doc_ruby_on_rails
2015-05-05 04:22:45
Comments
Leave a Comment

Please login to continue.