Doctrine Findby Regex
$documentRepository->findBy(array(
'foo' => new MongoRegex('/^bar/'),
));
Ugly Unicorn
$documentRepository->findBy(array(
'foo' => new MongoRegex('/^bar/'),
));