docs: def filter_data(self, data, values=None, args=None):
          """Remove entries containing specified pattern (single log)"""
          if args:
              if not args.rpattern:
                  return data
          if not values: values = args.rpattern
          newdata = {}
          if 'parser' in data.keys():
              newdata['parser'] = data['parser']
              newdata['source_path'] = data['source_path']
              newdata['source_file'] = data['source_file']
              newdata['source_file_mtime'] = data['source_file_mtime']
              newdata['source_file_year'] = data['source_file_year']
          newdata['entries'] = []
  
          repatterns = {}
          for rpat in values:
              repatterns[rpat] = re.compile(r".*({}).*".format(args.rpattern))
  
          for entry in data['entries']:
              match = False
              for r in args.rgrep:
                  if re.match(repatterns[r], entry['raw_text']):
                      match = True
  
              if not match:
                  newdata['entries'].append(entry)
  
          return newdata