paparazzi/paparazzi — pull request #865 by flixr (2014-10-22 15:17:28+00:00)
Title: [maps] use BRE instead of extended regex for sed

The `-E` (extended regex) option of sed is an (undocumented) option (alias for `-r`) of GNU sed to make it compatible with BSD sed.
But not all GNU sed versions have this alias, so it fails on systems with older GNU sed. Since BSD sed (like on OSX) doesn't have `-r`, convert the extended regex to a basic regex which both sed flavours should be able to use with `-e`.

Tested on linux (GNU sed), please also test on OSX...