The regex will match the following:

    doctrine.orm.serviceType.serviceName
    doctrine.odm.serviceType.serviceName
    doctrine.serviceType.serviceName

I was thinking that `doctrine.orm` should be used for orm specific services. `doctrine.odm` for odm specific services. And `doctrine` for services used by both. eg:

    doctrine.odm.documentManager.default
    doctrine.odm.connection.default
    doctrine.eventManager.default

You'll see this pattern followed in doctrine/DoctrineMongoODMModule#72