Skip to content

Commit

Permalink
Merge pull request #18 from minrk/regex
Browse files Browse the repository at this point in the history
fix regex escape
  • Loading branch information
minrk authored Feb 6, 2024
2 parents b9605eb + c126265 commit ab16c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appnope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def _v(version_s):
return tuple(int(s) for s in re.findall("\d+", version_s))
return tuple(int(s) for s in re.findall(r"\d+", version_s))


if sys.platform != "darwin" or _v(platform.mac_ver()[0]) < _v("10.9"):
Expand Down

0 comments on commit ab16c5f

Please # to comment.