code: def get_version():
      version = get_branch()
      match = re.search(r"v(\d+\.\d+\.\d+.*)", version)
      if match:
          return match.group(1)
      return version
  
imports: import os
  import re
  import subprocess
  from cpt.packager import ConanMultiPackager
label_desc: Use image node_id 2 for calling a global function with example usage: get_version() and returns: version, match