def makeregexp(self, clist, include_names=True):
        if self.minimization:
            reg = self.buildnextreg(self.routelist, clist, include_names)[0]
            if not reg:
                reg = '/'
            reg = reg + '/?' + '$'

            if not reg.startswith('/'):
                reg = '/' + reg
        else:
            reg = self.buildfullreg(clist, include_names)

        reg = '^' + reg

        if not include_names:
            return reg

        self.regexp = reg
        self.regmatch = re.compile(reg)
xml_submission_file is the field name for the posted xml file.
dataset/ETHPy150Open bbangert/routes/routes/route.py/Route.makeregexp--crossover with--dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/logger/tests/test_digest_authentication.py/TestDigestAuthentication.test_authenticated_submissions