From d00d685c7757cb0fd8ba943095e1602a7e74878a Mon Sep 17 00:00:00 2001 From: official-techsupport <98240022+official-techsupport@users.noreply.github.com> Date: Thu, 1 Sep 2022 07:37:08 +0300 Subject: [PATCH] fix showmore regex (yet again) (#347) --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 30c65408f..87ff30a0e 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -93,7 +93,7 @@ color_regex = re.compile("[a-z0-9]{6}", flags=re.A) # lazy match on the {}?, only match if there is trailing stuff # don't match between nested
etc, this can break but works for Snappy -showmore_regex = re.compile(r"^(.{3000,}?)(\s*<[^/].*)", flags=re.A|re.DOTALL) +showmore_regex = re.compile(r"^(.{3000,}?)(\s*.*)", flags=re.A|re.DOTALL) search_token_regex = re.compile('"([^"]*)"|(\S+)', flags=re.A)