code: def replace(match):
      filename = match.group("filename")
      if filename not in includes:
          includes.append(filename)
          text = get(filename)
          # lineno = code.count("\n",0,match.start())+1
          # text += '\n#line %d // End of "%s"' % (lineno, filename)
          text += '// --- end of "%s" ---\n' % filename
          return text
      return ""
  
imports: import os
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: replace(match) and returns: str, text