Python解析器组合器,用于捕获定界符内的文本
I'm taking a look at some parser combinator libraries in Python (Parsy to be more precise) and I'm currently faced with the following problem, simplified with a minimally working example below:
text = '''
AAAAAAAAAA AAAAAAAA AAAAAAAAAAAAAA
BBBBBBB START TH...