code: def find_clean_dirs(self):
          
  
          for folder in glob.glob(self.glob_pattern):
              if re.match(self.re_pattern, folder):
                  yield folder
          for folder in glob.glob(self.orig_glob_pattern):
              if re.match(self.orig_re_pattern, folder):
                  yield folder
docs: Finds all (temporary) directories according to the glob and re patterns that should be cleaned.