Fixed /e regex use with preg_replace_callback()