Addresses issue #1463

Replaces preg_replace '\e' modifier with preg_replace_callback as '\e' is depracated as of PHP 5.5.0.