Skip to content

Instantly share code, notes, and snippets.

@talkingmoose
talkingmoose / Tahoe-compatible Macs (regex)
Last active September 9, 2026 23:40
Regex looks for all Mac models compatible with macOS 26 Tahoe. May not be up-to-date with newly released models.
https://support.apple.com/en-us/122867
Published Date: March 10, 2026
Updated: March 19, 2026
Verification: https://regex101.com/r/YXAchM/9
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-7]|BookAir10|mini9|Pro7),\d+))|iMac2[01],\d+$