code: def regex_opt(strings, prefix="", suffix=""):
      """Return a compiled regex that matches any string in the given list.
  
      The strings to match must be literal strings, not regexes.  They will be
      regex-escaped.
  
      *prefix* and *suffix* are pre- and appended to the final regex.
      """
      strings = sorted(strings)
      return prefix + regex_opt_inner(strings, "(") + suffix
  
file_path: catboost/contrib/python/Pygments/py2/pygments/regexopt.py
imports: import re
  from re import escape
  from os.path import commonprefix
  from itertools import groupby
  from operator import itemgetter
label_desc: Use image node_id 3 for calling a global function with example usage: regex_opt(strings, prefix, suffix) and returns: unknown