mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Patch #551911: Escape . properly.
This commit is contained in:
parent
294bbf3a59
commit
cdbc131f03
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue