Patch #551911: Escape . properly.

This commit is contained in:
Martin v. Löwis 2002-06-06 09:52:49 +00:00
parent 294bbf3a59
commit cdbc131f03
1 changed files with 1 additions and 1 deletions

View File

@ -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))