code: def negative_filtering(patterns: list, file_list):
      """
      Patterns shall be a list of regex patterns
      """
      if len(patterns) == 0:
          return file_list
      prog = re.compile(patterns.pop())
      it = (i for i in file_list if not prog.search(i))
      return negative_filtering(patterns, it)
  
file_path: DALI/tools/lint.py
imports: import os
  import glob
  import itertools
  import re
  import argparse
  import sys
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: negative_filtering(patterns, file_list) and returns: negative_filtering, file_list