Details
-
Bug
-
Resolution: Works as Designed
-
Minor - P4
-
None
-
1.14.6
-
None
-
Compass 1.14.6 MacOS, MongoDB 4.0 Ubuntu
Description
Using of $options for $regex in aggregations $match stage like -
{ name: { $regex: /^PA/, $options: 'i' }} |
indicate an error:
Expected "[" or AggregationStage but "{" found. |