summaryrefslogtreecommitdiffstats
path: root/QMTest/TestSCons.py
diff options
context:
space:
mode:
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r--QMTest/TestSCons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index d9f0bf2..5f2b958 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -141,7 +141,7 @@ file_expr = r"""File "[^"]*", line \d+, in [^\n]+
# re.escape escapes too much.
def re_escape(str):
- for c in '.[]()*+?\\': # Not an exhaustive list.
+ for c in '\\.[]()*+?': # Not an exhaustive list.
str = str.replace(c, '\\' + c)
return str