Check for non-numeric bits in the stem.
This commit is contained in:
parent
32779ab1f6
commit
b19d6ab9c5
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ def parse_version_offset(path):
|
|||
(r'-((\d)+-\d)', stem),
|
||||
|
||||
# e.g. foobar_1.2-3
|
||||
(r'_((\d+\.)+\d+(-\d+)?)', stem),
|
||||
(r'_((\d+\.)+\d+(-\d+)?[a-z]?)', stem),
|
||||
|
||||
# e.g. foobar-4.5.1
|
||||
(r'-((\d+\.)*\d+)$', stem),
|
||||
|
|
Loading…
Reference in a new issue