summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-06-05 09:43:21 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-06-05 09:43:21 (GMT)
commitd4437af9735e06b99a9ef7074bf67fbd264a0aa7 (patch)
treed3d0a4f447d92d23e4ae3a16947d412c04bb27be
parente1ea7c465eb9e91c295ec11f9da4a2501aeda6b3 (diff)
downloadSCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.zip
SCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.tar.gz
SCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.tar.bz2
Oops, backslash must be done first, or backslashes from previous substitutions
will be quoted.
-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