The example in the node driver shows a simple regular expression used against a number.
collection.find({'a':/[1|2]/})
where collection is
collection.insert([{'a':1}, {'a':2}, {'b':3}]
This fails for me in both the shell and running the example in node.
Here is the example https://github.com/mongodb/node-mongodb-native/blob/1.4/examples/queries.js
I wouldn't expect this to work as regular expressions are for text ... but its in the current examples ... so I figure it must be correct and I'm missing something.. The sample works fine if the values are strings {a : '1'} ... am I missing something or is the sample out of date ...