summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/run.py
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-08-13 07:54:38 +0000
committerMichi Henning <michi@zeroc.com>2002-08-13 07:54:38 +0000
commite3c4113ad0385e67ee0a084801018b062c29b66f (patch)
treec3df2ab44b54ad92f805a3ca577df31f820094ea /cpp/test/Slice/errorDetection/run.py
parentAdded missing --ice option. (diff)
downloadice-e3c4113ad0385e67ee0a084801018b062c29b66f.tar.bz2
ice-e3c4113ad0385e67ee0a084801018b062c29b66f.tar.xz
ice-e3c4113ad0385e67ee0a084801018b062c29b66f.zip
Added missing backslash in regular expressions to interpret "." as a
literal dot instead of a wildcard..
Diffstat (limited to 'cpp/test/Slice/errorDetection/run.py')
-rwxr-xr-xcpp/test/Slice/errorDetection/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py
index ee206bf5098..b39f45237ba 100755
--- a/cpp/test/Slice/errorDetection/run.py
+++ b/cpp/test/Slice/errorDetection/run.py
@@ -21,7 +21,7 @@ else:
directory = os.path.join(toplevel, "test", "Slice", "errorDetection")
slice2cpp = os.path.join(toplevel, "bin", "slice2cpp")
-regex1 = re.compile(r".ice$", re.IGNORECASE)
+regex1 = re.compile(r"\.ice$", re.IGNORECASE)
files = []
for file in os.listdir(directory):
if(regex1.search(file)):