code: def find_repl_patterns(astr):
      reps = named_re.findall(astr)
      names = {}
      for rep in reps:
          name = rep[0].strip() or unique_key(names)
          repl = rep[1].replace(r"\,", "@comma@")
          thelist = conv(repl)
          names[name] = thelist
      return names
  
file_path: catboost/contrib/python/numpy/py3/numpy/f2py/_src_pyf.py
imports: import re
label_desc: Use image node_id 2 for calling a global function with example usage: find_repl_patterns(astr) and returns: names