diff --git a/evennia/utils/inlinefuncs.py b/evennia/utils/inlinefuncs.py index 70d25719b..b07932fe6 100644 --- a/evennia/utils/inlinefuncs.py +++ b/evennia/utils/inlinefuncs.py @@ -195,10 +195,10 @@ _RE_TOKEN = re.compile(r""" (?.*?)(?.*?)(?(?(?(?(?(?\\'|\\"|\\\)|\\$\w+\()| # escaped tokens should re-appear in text - (?P[\w\s.-\/#!%\^&\*;:=\-_`~\(}{\[\]]+|\"{1}|\'{1}) # everything else should also be included""", + (?P[\w\s.-\/#!%\^&\*;:=\-_`~\|\(}{\[\]]+|\"{1}|\'{1}) # everything else should also be included""", re.UNICODE + re.IGNORECASE + re.VERBOSE + re.DOTALL)