@classmethod<EOL><INDENT>def find_matching(cls, path, patterns):<DEDENT>
for pattern in patterns:<EOL><INDENT>if pattern.match(path):<EOL><INDENT>yield pattern<EOL><DEDENT><DEDENT>
Yield all matching patterns for path.