Skip to content

Commit

Permalink
Fixed regex for platforms above 10
Browse files Browse the repository at this point in the history
  • Loading branch information
CalamityJames committed Feb 27, 2024
1 parent 3854ad1 commit 7d77290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def parsePlatformData(platform):
if platform is None:
return ""
elif bool(re.match(r'^(?:\d{1,2}[A-D]|[A-D]|\d[A-D]?|\d)$', platform)):
elif bool(re.match(r'^(?:\d{1,2}[A-D]|[A-D]|\d{1,2})$', platform)):
return platform
else:
return ""
Expand Down

0 comments on commit 7d77290

Please sign in to comment.