Made grep regex work on mac too.
Merge pull request #275 from phoglund/fix_python_run_mac

Made grep regex work on mac too.