Skip to main content

macOS 27 Golden Gate (Regex Can't upgrade)

  • June 9, 2026
  • 4 replies
  • 189 views

mvu
Forum|alt.badge.img+22

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
  • June 9, 2026

Checking...


Forum|alt.badge.img+11
  • Valued Contributor
  • June 10, 2026

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+22
  • Author
  • Jamf Heroes
  • June 10, 2026

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+22
  • Author
  • Jamf Heroes
  • June 16, 2026