[apple] Fix regex to exclude non-macos releases

This also drops 11.0 and 12.0, which is okay since the dates
we have are technically for 11.0.1 and 12.0.1 anyway.
This commit is contained in:
Nemo
2023-03-16 17:08:55 +05:30
committed by Nemo
parent 5ea10e8b74
commit 819dba26dd

View File

@@ -23,7 +23,7 @@ URLS = [
CONFIG = {
"macos": [
# This covers Sierra and beyond
r"macOS[\D]+(?P<version>\d+(?:\.\d+)*)",
r"^macOS[\D]+(?P<version>\d+(?:\.\d+)*)",
# This covers Mavericks - El Capitan
r"OS\s+X\s[\w\s]+\sv?(?P<version>\d+(?:\.\d+)+)",
# This covers even older versions (OS X)