Fixed depricated /e

http://php.net/preg_replace : "An E_DEPRECATED level error is emitted when passing in the "\e" modifier."

Fixed expression to use preg_replace_callback. Once accepted, I will create pull requests for the other branches.