1) try quoting the left hand side names as shown below
2) i'm not sure if that function will do regular expressions. IIRC there
is no regular expression type in the JSON RFC, that is "javascript" json.
but BSON does support regular expression type so you can do it is just a
question of how i don't know the java driver well but it might take $regex
or you could use other means in the driver to make the BSON
http://docs.mongodb.org/manual/reference/mongodb-extended-json/
Post by Ignatij SuvorovHello.
JSON.parse is throwing exception
{$not: /.*/}}]}}");
How to escape / characters?
Thank you!
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongodb-user-/***@public.gmane.org
To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/***@public.gmane.org
See also the IRC channel -- freenode.net#mongodb