I'm trying to use regular expressions to query Mongodb using Doctrine's Mongodb ODM on Symfony 2.
I know the PHP mongo driver can do it. However, I don't know how to do this with Doctrine.
Do I use the same class? How do I reference MongoRegex from within Symfony?