This commit is contained in:
Auric Vente 2024-02-22 18:04:56 -06:00
parent cd246ef027
commit 6b2010fa16
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def get_path(name):
return str(Path(HERE, name))
def extract_range(string):
pattern = re.compile(r"\s*(\d+)\s*(?:-\s*(\d+))?\s*")
pattern = re.compile(r"\s*(\d+)\s*(\d+)?\s*")
match = pattern.search(string)
if not match: