-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.20.5
-
Component/s: Aggregation pipeline
-
None
-
Environment:Mac OS Catalina
-
Iteration Blackberry
Try using the following `$match` pipeline stage:
```
{ MetricName: /\|/ }```
Gives the following error:
```
Expected "[" or AggregationStage but "{" found.
```
Expected behavior: Compass should allow me to escape my regexes in aggregation. This functionality works fine in basic query mode. I can't find any documentation to indicate that this is an invalid query or why this might be invalid if I have made a mistake.