diff --git a/files/helpers/regex.py b/files/helpers/regex.py index c696c6b82..a44f76ff8 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -34,7 +34,7 @@ query_regex = re.compile("(\w+):(\S+)", flags=re.A) poll_regex = re.compile("(^|\n|>)\$\$([^\$\n]+)\$\$\s*?" + NOT_IN_CODE_OR_LINKS, flags=re.A) bet_regex = re.compile("(^|\n|>)##([^#\n]+)##\s*?" + NOT_IN_CODE_OR_LINKS, flags=re.A) -choice_regex = re.compile("(^|\n|>)&&([^&\n]+)&&\s*?" + NOT_IN_CODE_OR_LINKS, flags=re.A) +choice_regex = re.compile("(^|\n|>)&&([^\n]+?)&&\s*?" + NOT_IN_CODE_OR_LINKS, flags=re.A) html_comment_regex = re.compile("", flags=re.A)