RegExp from Query History Doesn't Work

When you run a query with a regex filter such as { foo: /bar.*/ } you get results. When you pull up the query from history (or Recents as it is called in the UI), it returns a query formatted like { foo: { pattern: "bar.*", options: "" } }. This query does not return any results. I have also tried { foo: RegExp('bar.*) } and { foo: { $regex: 'bar.*' } }, both of which returned results in their original forms, but all have the same broken form in history. Is there some setting I have wrong that is causing this?

No, looks like a bug, create an issue on

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.