code: def filter(self, info, releases):
          
          for version in list(releases.keys()):
              if any(pattern.match(version) for pattern in self.patterns):
                  del releases[version]
docs: Remove all release versions that match any of the specificed patterns.