code: def compile(expression, escape_funcs=None, unescape_funcs=None):
      """
      Compile grammar (given as regex string), returning a `CompiledGrammar`
      instance.
      """
      return _compile_from_parse_tree(
          parse_regex(tokenize_regex(expression)),
          escape_funcs=escape_funcs,
          unescape_funcs=unescape_funcs,
      )
  
imports: from __future__ import unicode_literals
  import re
  from six.moves import range
  from .regex_parser import Any, Sequence, Regex, Variable, Repeat, Lookahead
  from .regex_parser import parse_regex, tokenize_regex
label_desc: Use image node_id 1 for calling a global function with example usage: compile(expression, escape_funcs, unescape_funcs) and returns: _compile_from_parse_tree