Tweak {RT} pattern

This commit is contained in:
Ross Scroggs
2016-06-30 09:31:26 -07:00
parent 79964892f6
commit 0dc8accb64

View File

@ -5077,7 +5077,7 @@ def getForward(users):
except TypeError:
pass
RT_PATTERN = re.compile(r'(?s){RT}.*?{(.*?)}.*?{/RT}')
RT_PATTERN = re.compile(r'(?s){RT}.*?{(.+?)}.*?{/RT}')
RT_OPEN_PATTERN = re.compile(r'{RT}')
RT_CLOSE_PATTERN = re.compile(r'{/RT}')
RT_STRIP_PATTERN = re.compile(r'(?s){RT}.*?{/RT}')