mpc
mpc copied to clipboard
parser for """long string""" ?
Question: how to define a parser for arbitrary contents delimited by multi-char indicators? As a concrete case, consider python long strings, eg:
"""
some
contents
"""
My case is actually with {{{
and }}}
as delimiters, but any hints are appreciated.