Skip to main content

macOS 27 Golden Gate (Regex Can't upgrade)

  • Jun 9, 2026 12:44 PM UTC
  • 4 replies
  • 639 views

mvu
Forum|alt.badge.img+25

Taking a swing at the regex. How is this?

macOS 27 Golden Gate (Regex Can't upgrade)


^Mac(BookPro1(7|8),\d|(1(4,([5679]|10)|5,([36-9]|1[01])|6,[15-8]|7,[2-9]))|(1([56],1[23]|4,(2|15))|BookAir10,1)|(6,[23]|5,[45])|mini9,1|1(6,1[015])|14,(3|12)|1(3,[12]|4,1(3|4)|5,14|6,9)|14,8)$|^iMac21,[12]$

4 replies

peterlbk
Forum|alt.badge.img+11
  • Jamf Heroes
  • Jun 9, 2026 12:55 PM UTC

Checking...


Forum|alt.badge.img+11
  • Valued Contributor
  • Jun 10, 2026 4:49 PM UTC

My regex is:

^(Mac1[3-7],(1[0-5]|[1-9])|MacBookAir10,1|MacBookPro1[78],[1-4]|iMac21,[12]|Macmini9,1)$

Machines that match can upgrade, machines that do not match can not.


mvu
Forum|alt.badge.img+25
  • Author
  • Jamf Heroes
  • Jun 10, 2026 4:55 PM UTC

Nice. Still playing around. Catching the Mac Studio:

 

^Mac(mini9,1|BookAir10,1|BookPro1[78],\d|Studio1,1|1[3-7],\d+)$|^iMac21,[12]$


mvu
Forum|alt.badge.img+25
  • Author
  • Jamf Heroes
  • Jun 16, 2026 1:39 PM UTC