def EncloseAnsiText(text):
  return sgr_re.sub(lambda x: ANSI_START + x.group(1) + ANSI_END, text)
DELETEs the object and returns the results.
dataset/ETHPy150Open google/textfsm/terminal.py/EncloseAnsiText--crossover with--dataset/ETHPy150Open gholt/swiftly/swiftly/client/client.py/Client.delete_object