commit | 18794433d33c35017a300fd40ac30afbc9dbb95a | [log] [tgz] |
---|---|---|
author | Chris Withers <[email protected]> | Sun Apr 28 19:41:05 2019 +0100 |
committer | Chris Withers <[email protected]> | Tue Apr 30 08:39:55 2019 +0100 |
tree | 00d07fa9b5413065ef8690f3b6f7e82b0b17f2b6 | |
parent | 565b044c681717702595595cc38f67e8f652b6df [diff] [blame] |
paranoid regex change
diff --git a/backport.py b/backport.py index baeef37..afe87d4 100644 --- a/backport.py +++ b/backport.py
@@ -57,7 +57,7 @@ for pattern, sub in ( ('(a|b)/Lib/unittest/mock.py', r'\1/mock/mock.py'), - ('(a|b)/Lib/unittest/test/testmock/(.+)', r'\1/mock/tests/\2'), + (r'(a|b)/Lib/unittest/test/testmock/(\S+)', r'\1/mock/tests/\2'), ('(a|b)/Misc/NEWS', r'\1/NEWS'), ('(a|b)/NEWS.d/next/Library/(.+\.rst)', r'\1/NEWS.d/\2'), ):