deprecated preg_replace() /e modifier fix

PHP 5.x.x + fix
deprecated  preg_replace() /e modifier fix

PHP 5.x.x+ fix
Merge pull request #1 from White4Shadow/shadow