code: def re_show(regexp, string, left="{", right="}"):
      """
      Return a string with markers surrounding the matched substrings.
      Search str for substrings matching ``regexp`` and wrap the matches
      with braces.  This is convenient for learning about regular expressions.
  
      :param regexp: The regular expression.
      :type regexp: str
      :param string: The string being matched.
      :type string: str
      :param left: The left delimiter (printed before the matched substring)
      :type left: str
      :param right: The right delimiter (printed after the matched substring)
      :type right: str
      :rtype: str
      """
      print(
          re.compile(regexp, re.M).sub(
              left + r"\g<0>" + right, string.rstrip()
          )
      )
  
imports: import inspect
  import locale
  import os
  import pydoc
  import re
  import textwrap
  import unicodedata
  import warnings
  from collections import defaultdict, deque
  from itertools import chain, combinations, islice, tee
  from pprint import pprint
  from urllib.request import HTTPPasswordMgrWithDefaultRealm, ProxyBasicAuthHandler, ProxyDigestAuthHandler, ProxyHandler, build_opener, getproxies, install_opener
  from nltk.collections import *
  from nltk.internals import deprecated, raise_unorderable_types, slice_bounds
label_desc: Use image node_id 7 for calling a global function with example usage: re_show(regexp, string, left, right) without return types