diff --git a/files/helpers/regex.py b/files/helpers/regex.py index da002b784a..e32ccd778b 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -107,7 +107,8 @@ color_regex = re.compile("[a-f0-9]{6}", flags=re.A) # lazy match on the {}?, only match if there is trailing stuff # Specifically match Snappy's way of formatting, this might break some losers' comments. -showmore_regex = re.compile(r"^((.{3000,}?|(.*?<.*?){10,})?<\/p>(?:<\/li><\/ul>)?)(\s*

.*)", flags=re.A|re.DOTALL) +# showmore_regex = re.compile(r"^((.{3000,}?|(.*?<.*?){10,})?<\/p>(?:<\/li><\/ul>)?)(\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)