avoid message 
Delimiter must not be alphanumeric or backslash in
/home/bobby/Eclipse/workspace/dolibarr/htdocs/main.inc.php on line 450
on preg_replace
Merge pull request #1707 from FHenry/3.6

avoid warning message on preg_replace