code: def get_r2(word):
      match = r_exp.match(word, get_r1(word))
      if match:
          return match.start(1)
      return len(word)
  
imports: import re
label_desc: Use image node_id 2 for calling a global function with example usage: get_r2(word) and returns: len, match