Hi I debugged this a little and see the regression occurred when sh-script.el sh-font-lock-paren was changed in Emacs 30 to have: ;; Also recognize OpenBSD's case X { ... } (bug#55764). (and (looking-at ";\\(?:;&?\\|[&|]\\)\\|\\_