diff options
author | Yash Shete <universeyash4@gmail.com> | 2020-11-09 23:08:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 17:38:09 +0000 |
commit | 1f73c320e2921605c4963e202f6bdac1ef18f2ce (patch) | |
tree | c7f5b2c3e31f6f4615345101478f87d809afd154 /Tools | |
parent | bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206) (diff) | |
download | cpython-1f73c320e2921605c4963e202f6bdac1ef18f2ce.tar.gz cpython-1f73c320e2921605c4963e202f6bdac1ef18f2ce.tar.bz2 cpython-1f73c320e2921605c4963e202f6bdac1ef18f2ce.zip |
bpo-41712: Avoid runaway regex match in upload scripts (GH-23166)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/purge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/msi/purge.py b/Tools/msi/purge.py index a8b8f4d8973..27b6b054a44 100644 --- a/Tools/msi/purge.py +++ b/Tools/msi/purge.py @@ -12,7 +12,7 @@ import sys from urllib.request import * -VERSION_RE = re.compile(r'(\d+\.\d+\.\d+)(\w+\d+)?$') +VERSION_RE = re.compile(r'(\d+\.\d+\.\d+)([A-Za-z_]+\d+)?$') try: m = VERSION_RE.match(sys.argv[1]) |