def get_regexp(self):
        regexp_prefix = self.name + ":" if self.unambiguous else ''
        repeat = "%d,%s" % \
                 (self.min - 1, str(self.max) if self.max > 0 else '')
        regexp_suffix = "(%s%s){%s}" % (self.separator, self.regexp, repeat) \
                         if self.separator else ''
        return "%s(?P<%s>%s%s)" % \
               (regexp_prefix, self.name, self.regexp, regexp_suffix,)
Returns the regular expression for matching this particular
dataset/ETHPy150Open armisael/django-urls-sugar/urls_sugar/classes.py/Variable.get_regexp