Check for non-numeric bits in the stem.

This commit is contained in:
Glenn Johnson 2016-04-06 19:08:01 -05:00
parent 32779ab1f6
commit b19d6ab9c5

View file

@ -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),