Return an url-argument dictionary.
(path)
| 370 | raise RouteSyntaxError("Could not add Route: %s (%s)" % (rule, e)) |
| 371 | |
| 372 | def match(path): |
| 373 | """ Return an url-argument dictionary. """ |
| 374 | url_args = re_match(path).groupdict() |
| 375 | for name, wildcard_filter in filters: |
| 376 | try: |
| 377 | url_args[name] = wildcard_filter(url_args[name]) |
| 378 | except ValueError: |
| 379 | raise HTTPError(400, 'Path has wrong format.') |
| 380 | return url_args |
| 381 | |
| 382 | try: |
| 383 | combined = '%s|(^%s$)' % (self.dynamic[-1][0].pattern, flat_pattern) |
no test coverage detected