code: def add_filter_by_pattern(self, pattern, filter_type=DefaultFilterType):
          
          self.add_filter(FilterPattern(pattern), filter_type)
          return self
docs: Add a files filter by linux-style pattern to this iterator.
  
          :param pattern: linux-style files pattern (or list of patterns)