code: def string_rules(quote_mark):
      return [
          (r"[^{}\\]".format(quote_mark), String),
          (r"\\.", String.Escape),
          (quote_mark, String, "#pop"),
      ]
  
imports: from pygments.lexer import include, RegexLexer, words
  from pygments.token import Comment, Keyword, Name, Number, Operator, Punctuation, String, Text, Whitespace
label_desc: Use image node_id 1 for calling a global function with example usage: string_rules(quote_mark) and returns: list