-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Refer to MONGOID-5660 for context.
Object#regexp? is a trivial kernel monkey patch which returns true for Regexp and BSON::Regexp::Raw, and false for all else, including BSON::Regexp.
PR raised: https://github.com/mongodb/mongoid/pull/5714