Sed doesn't have a -E option, it is -r for extended regexp
Use boost