Use a regular expression that works on OS X

I don't know why the other one didn't.