code: def re_mark(mark):
      return re.compile(r"^\s*#\s+<demo>\s+%s\s*$" % mark, re.MULTILINE)
  
imports: import os
  import re
  import shlex
  import sys
  import pygments
  from pathlib import Path
  from IPython.utils.text import marquee
  from IPython.utils import openpy
  from IPython.utils import py3compat
label_desc: Use image node_id 1 for calling a global function with example usage: re_mark(mark) and returns: re