-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.26.1
-
Component/s: Query Bar, Query History
-
None
-
Environment:windows 10
-
3
-
Iteration Anemone
-
Not Needed
Problem Description
in search history the regex request saved without quotes for flags. => wrong query by usage from history/favorites
Steps to Reproduce
search for `{something: /regex/i}`
Expected Results
in history there will be `{something: /regex/i}` or `{something: new Regex('regex', 'i'}`
Actual Results
`{something: new Regex('regex', i}`
flag `i` is not quoted.
Additional Notes
- related to
-
COMPASS-3128 Restart changes $regex favorite to invalid RegExp favorite
- Closed