diff --git a/voussoirkit/expressionmatch.py b/voussoirkit/expressionmatch.py index f5cb242..df5f6c0 100644 --- a/voussoirkit/expressionmatch.py +++ b/voussoirkit/expressionmatch.py @@ -94,6 +94,7 @@ class ExpressionTree: if self_token not in OPERATORS: t = self_token + t = t.replace('\\', '\\\\') t = t.replace('"', '\\"') t = t.replace('(', '\\(') t = t.replace(')', '\\)')