def match_url(self, request):
        """
        match url determines if this is selected
        """
        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
dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py/MenuItem.match_url/operator `%` -> `+`