Merge pull request #1 from kristoferlo/master

OS X Lion droped support for 'grep -P, this is a fix for that problem.