Skip to content

Commit

Permalink
fixed regex in testing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sklbancor committed Aug 26, 2023
1 parent 0881a25 commit 21dad6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane_bot/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class VersionRequirementNotMetError(RuntimeError): pass

def _split_version_str(vstr):
"""splits version mumber string into tuple (int, int, int, ...)"""
m = _re.match("^([0-9\.]*)", vstr.strip())
m = _re.match(r"^([0-9\.]*)", vstr.strip())
if m is None:
raise ValueError("Invalid version number string", vstr)
vlst = tuple(int(x) for x in m.group(0).split("."))
Expand Down

0 comments on commit 21dad6c

Please sign in to comment.