Skip to content

Instantly share code, notes, and snippets.

@AllWorkAndNoPlay
AllWorkAndNoPlay / Tahoe-compatible Macs (regex)
Last active September 22, 2025 20:02 — forked from talkingmoose/Tahoe-compatible Macs (regex)
Regex looks for all Mac models compatible with macOS 26 Tahoe. May not be up-to-date with newly released models.
https://www.apple.com/os/macos/
Published Date: June 9, 2025
Updated: June 24, 2025
Verification: https://regex101.com/r/YXAchM/3
1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate):
^Mac((BookPro1(6,[1234]|[78],\d)|(1[3-6]|BookAir(10|18)|mini9|Pro7),\d+))|iMac2[01],\d+$
@AllWorkAndNoPlay
AllWorkAndNoPlay / Tahoe-compatible Macs (regex)
Created September 22, 2025 19:58 — forked from talkingmoose/Tahoe-compatible Macs (regex)
Regex looks for all Mac models compatible with macOS 26 Tahoe. May not be up-to-date with newly released models.
https://www.apple.com/os/macos/
Published Date: June 9, 2025
Updated: June 24, 2025
Verification: https://regex101.com/r/YXAchM/3
1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate):
^Mac((BookPro1(6,[124]|[78],\d)|(1[3-6]|BookAir10|mini9|Pro7),\d+))|iMac2[01],\d+$