Change 'sed -E' to functionally equivalent and more widely known 'sed -r...

...', per http://blog.dmitryleskov.com/small-hacks/mysterious-gnu-sed-option-e/.  E.g., sed 4.1.5 was installed on my RHEL5.3 box and didn't understand -E