In MongoDB 4.1.7 and 4.0.8 it is possible to use $not with $regex (SERVER-13779). Compass should support that too.
- causes
-
COMPASS-4146 Disable validation in agg builder, query bar and schema validation
- Closed
- is related to
-
COMPASS-3120 No support for negative regex, { $not: /regex/ } not accepted in query bar
- Closed
-
SERVER-13779 Allow $not to be applied to $regex (currently only /regex/ syntax is allowed)
- Closed