def get_func(self, path):
for url_match, func_pair in self._urls_regex_map.items():<EOL><INDENT>m = url_match.match(path)<EOL>if m is not None:<EOL><INDENT>return func_pair.func, func_pair.methods, m.groupdict()<EOL><DEDENT><DEDENT>return None, None, None<EOL>
:return: (func, methods)