From cdbc131f0370f6e3712d4167ba987d5e6b7f2802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 6 Jun 2002 09:52:49 +0000 Subject: [PATCH] Patch #551911: Escape . properly. --- Lib/test/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index aadd419a8a6..cf87fd457aa 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -38,7 +38,7 @@ class CommandTests(unittest.TestCase): # be named anything. \s+\d+ # It has a size. [^/]* # Skip the date. - /. # and end with the name of the file. + /\. # and end with the name of the file. ''' self.assert_(re.match(pat, getstatus("/."), re.VERBOSE))