@ -311,7 +311,7 @@ exit;
*/
function rcmail_mimetype_compare($type1, $type2)
{
$regexp = '|/(x-|x-ms-)|';
$regexp = '~/(x-|x-ms-)~';
$type1 = preg_replace($regexp, '/', $type1);
$type2 = preg_replace($regexp, '/', $type2);