Re-added some characters that would be affected by inlinefunc nesting.
This commit is contained in:
parent
7de036c1d9
commit
0c08f7c550
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue