code: def get_matching(content, match):
      
      if match != "":
          lines = [line for line in content.split("\n") if match in line]
          content = "\n".join(lines)
      return content
docs: filters out lines that don't include match