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