http://www.perlmonks.org?node_id=296060


in reply to Detect Mac Browser

That pattern does look like it will catch most Mac users.

(However, I'm unable to imagine a good reason for doing this; the various Mac browsers are different enough that the OS is rarely the biggest issue, and Safari is more like Linux's KHTML than it is like MacOS 9's Internet Explorer.)