def match_url(self, request):
        matched = False
        if self.exact_url:
            if re.match("%s$" % (self.url,), request.path):
                matched = True
        elif re.match("%s" % self.url, request.path):
            matched = True
        return matched
match url determines if this is selected
dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py/MenuItem.match_url