forked from rDrama/rDrama
improvement since ) is optional if its the last characters
parent
6ee03f143b
commit
74b60a1854
|
@ -128,7 +128,7 @@ twitch_regex = re.compile('(https:\/\/)?(www\.)?twitch.tv\/(.*)', flags=re.I|re.
|
|||
|
||||
link_fix_regex = re.compile("(\[.*?\]\()(?!http|\/)(.*?\))" + NOT_IN_CODE_OR_LINKS, flags=re.A)
|
||||
|
||||
css_url_regex = re.compile('url\(((.|\n)*?)\)', flags=re.I|re.A)
|
||||
css_url_regex = re.compile('url\(((.|\n)*?)(\)|$)', flags=re.I|re.A)
|
||||
|
||||
linefeeds_regex = re.compile("([^\n])\n([^\n])", flags=re.A)
|
||||
|
||||
|
|
Loading…
Reference in New Issue