From 933147a4fde5ee594b71dadc281a182832511334 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Mon, 7 Feb 2022 03:27:12 +0100 Subject: [PATCH] Allow multiple tag-like blocks in Content Regex --- protoparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protoparser.py b/protoparser.py index caa27fe..7e14f94 100644 --- a/protoparser.py +++ b/protoparser.py @@ -177,7 +177,7 @@ class Content(Element): PATTERN = ( r"\s*(?<content>(?:(?:[^\[\];\r\n{}]+)|(?:[^\[\];\r\n{}]+)?" - r"(?:\[[^\]\r\n{}]+\][^;\[\]\r\n{}]*)+));?") + r"(?:\[[^\]\r\n{}]+\][^;\[\]\r\n{}]*)+)+);?") class Text: -- GitLab