pyebnf/util.py
def esc_join(iterable, delimiter=" ", escape="\\"):
  """Join an iterable by a delimiter, replacing instances of delimiter in items
  with escape + delimiter.
  """
  rep = escape + delimiter
  return delimiter.join(i.replace(delimiter, rep) for i in iterable)
def esc_join(iterable, delimiter=" ", escape="\\"):
  """Join an iterable by a delimiter, replacing instances of delimiter in items
  with escape + delimiter.
  """
  rep = escape + delimiter
  return delimiter.join(i.replace(delimiter, rep) for i in iterable)
Join an iterable by a delimiter, replacing instances of delimiter in items
  with escape + delimiter.