Fixed a regex for darwin.