diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-06-05 09:43:21 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-06-05 09:43:21 (GMT) |
commit | d4437af9735e06b99a9ef7074bf67fbd264a0aa7 (patch) | |
tree | d3d0a4f447d92d23e4ae3a16947d412c04bb27be /QMTest | |
parent | e1ea7c465eb9e91c295ec11f9da4a2501aeda6b3 (diff) | |
download | SCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.zip SCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.tar.gz SCons-d4437af9735e06b99a9ef7074bf67fbd264a0aa7.tar.bz2 |
Oops, backslash must be done first, or backslashes from previous substitutions
will be quoted.
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSCons.py | 2 |
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 |