'\\1 \\2', // mail adresse '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+) <(.*@.*)>/i' => '\\1 \\2', // linking bugs '/bug\s+#([0-9]*)/i' => 'bug \\1', // linking pacthes '/patch\s+#([0-9]*)/i' => 'patch \\1', // linking RFE '/rfe\s+#([0-9]*)/i' => 'RFE \\1', // linking files '/(\s+)([\\/a-z_0-9\.]+\.php)/i' => '\\1\\2', ); header('Content-type: text/html; charset=utf-8'); echo '
';
echo preg_replace(array_keys($replaces), $replaces, $changelog);
echo '
'; ?>