-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Query
When $regex is given a regular expression, and $options are given, we run into an issue because our BSON regular expressions always have the m flag set and the server does not allow flags to be given in both the regexp argument to $regex and $options.
As part of this ticket we may need to redesign how bson regular expressions handle their option arguments, which could go into bson 5 or 6.
- depends on
-
RUBY-2330 Allow constructing BSON::Regexp::Raw from regular expressions
- Backlog
- is related to
-
MONGOID-4906 Add missing general-purpose operators to embedded matchers
- Closed
- related to
-
MONGOID-4929 Test passing $options to $regex when embedded matching
- Closed