Details
-
Bug
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
-
ALL
Description
> 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.
Attachments
Issue Links
- 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
-