'Yield all matching patterns for path.
:param path: Path to match
:return: Iterator over  iterators'

def find_matching(self, path):

    if (not isinstance(path, bytes)):
        path = path.encode(sys.getfilesystemencoding())
    for pattern in self._patterns:
        if pattern.match(path):
            (yield pattern)
