Fix compatibility with PHP 5.5:

- preg_replace() /e modifier:
  -> http://php.net/manual/en/migration55.deprecated.php#migration55.deprecated.preg-replace-e