This is not allowed :
a =
{s:"\""}db.test.save(
{s:"\""})
This is allowed :
a = "\""
db.test.save(
)
Shouldn't all of the above work (it does in all other JavaScript contexts I'm aware of).
- is duplicated by
-
SERVER-8554 Mongo shell has trouble parsing \"
- Closed
- is related to
-
SERVER-3994 Brace matching in mongo shell could be better
- Closed
- related to
-
SERVER-5697 Unmatched quotes in regular expression cause JS shell to enter multi-line mode
- Closed