def app_add_url_rule(self, rule, endpoint=None, view_func=None, **options):
        url_prefix = self.register_options.get('url_prefix') or self.url_prefix
        if url_prefix:
            rule = url_prefix + rule
        if endpoint is None:
            endpoint = view_func.__name__
        defaults = self.url_defaults
        if 'defaults' in options:
            defaults = dict(defaults, **options.pop('defaults'))
        self.app.add_url_rule(rule, '%s.%s' % (self.name, endpoint),
                              view_func, defaults=defaults, **options)
Return first group in the value matching the pattern using re.match.
dataset/ETHPy150Open zeaphoo/cocopot/cocopot/blueprints.py/Blueprint.app_add_url_rule--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/transform.py/regexp_extract