-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
ALL
> db.foo.find({name: /\\/}).count();
0 // great, no records contain backslash
> db.foo.find({name: /\(/}).count();
... }
SyntaxError: Unexpected token }
Same for [ and {{{}}*
- That was an attempt to highlight {. I hate Jira's weird syntax when everyone else uses Markdown.
- related to
-
SERVER-14430 Shell in interactive mode does not wait for for-loop body
-
- Backlog
-
-
SERVER-5697 Unmatched quotes in regular expression cause JS shell to enter multi-line mode
-
- Closed
-
-
SERVER-3994 Brace matching in mongo shell could be better
-
- Closed
-