code: def find_matches(_file: Path, provider: str, version: str):
      lines = _file.read_text().splitlines(keepends=True)
      new_lines = []
      for index, line in enumerate(lines):
          new_line = replace_match(str(_file), line, provider, version)
          if new_line:
              new_lines.append(new_line)
      _file.write_text("".join(new_lines))
  
file_path: airflow/dev/example_dags/update_example_dags_paths.py
imports: from __future__ import annotations
  import os
  import re
  from pathlib import Path
  import requests
  from rich.console import Console
  from rich.progress import Progress
label_desc: Use image node_id 3 for calling a global function with example usage: find_matches(_file, provider, version) without return types