I have a document in MongoDB with a regex attribute
{ _id: ObjectId(\"516023189732da20ce000004\"), regex: /^(my|your)\\s+regex$/ }
You can use the $where operator in the following fashion:
db.col.find({$where: "\"my regex\".match(this.regex)"})