From: Martin v. Löwis Date: Thu, 6 Jun 2002 09:52:49 +0000 (+0000) Subject: Patch #551911: Escape . properly. X-Git-Tag: v2.3c1~5452 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbc131f0370f6e3712d4167ba987d5e6b7f2802;p=thirdparty%2FPython%2Fcpython.git Patch #551911: Escape . properly. --- diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index aadd419a8a6b..cf87fd457aae 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))