CEP-583 fix syntax preg_replace()