Fix multibite string preg_replace changes
http://php.net/manual/en/function.preg-replace.php#106981