compatibility with GNU sed. Since FreeBSD still supports 7.x that does not has -r, so use -E instead. Reported by: pointyhat (pav)