code: def _repl_ten_prefs_single_ords(m):
      m2, m4 = m.group(2), m.group(4)
      repl = (
          f"{m.group(1)}<num>"
          + str(
              consts.TEN_PREFIXES[m2.lower()]
              + consts.ORDINAL_SINGLE[m4.lower()]
          )
          + m4[-2:]
      )
      return repl
  
imports: import re
  from .None import consts
label_desc: Use image node_id 3 for calling a global function with example usage: _repl_ten_prefs_single_ords(m) and returns: repl