Re-added some characters that would be affected by inlinefunc nesting.

This commit is contained in:
Griatch 2015-11-29 12:04:10 +01:00
parent 7de036c1d9
commit 0c08f7c550

View file

@ -189,7 +189,7 @@ _RE_TOKEN = re.compile(r"""
(?P<end>(?<!\\)\))| # unescaped } (end of function call)
(?P<start>(?<!\\)\$\w+\()| # unescaped $funcname{ (start of function call)
(?P<escaped>\\'|\\"|\\\)|\\$\w+\()| # escaped tokens should re-appear in text
(?P<rest>[\w\s.-\/#!%\^&\*;:=\-_`~\(}{\[\]]+) # everything else should also be included""",
(?P<rest>[\w\s.-\/#!%\^&\*;:=\-\"\'_`~\(}{\[\]]+) # everything else should also be included""",
re.UNICODE + re.IGNORECASE + re.VERBOSE + re.DOTALL)