def getChild(self, path, request):
        resrc = self._getResourceForRequest(request)
        if resrc.isLeaf:
            request.postpath.insert(0,request.prepath.pop(-1))
            return resrc
        else:
            return resrc.getChildWithDefault(path, request)
Taken from: http://code.activestate.com/recipes/65215-e-mail-address-validation/
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/vhost.py/NameVirtualHost.getChild--crossover with--dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/admin_manager/helper.py/validateEmail