@classmethod<EOL><INDENT>def parse(cls, path):<DEDENT>
<EOL>for resource, pattern in cls.meta.patterns:<EOL><INDENT>match = re.match(pattern, path)<EOL>if match is not None:<EOL><INDENT>return resource, match.groupdict(), match.string[match.end():]<EOL><DEDENT><DEDENT>return None if not cls.meta.patterns else False<EOL>
Parses out parameters and separates them out of the path.

        This uses one of the many defined patterns on the options class. But,
        it defaults to a no-op if there are no defined patterns.