'\\1',
// sourceforge users
'/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*)@users.sourceforge.net>/i'
=> '\\1 \\2',
'/thanks to ([^\(\r\n]+) \(([-\w]+)\)/i'
=> 'thanks to \\1',
'/thanks to ([^\(\r\n]+) -\s+([-\w]+)/i'
=> 'thanks to \\1',
// mail adresse
'/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*@.*)>/i'
=> '\\1 \\2',
// linking patches
'/patch\s*#?([0-9]{6,})/i'
=> 'patch #\\1',
// linking RFE
'/(?:rfe|feature)\s*#?([0-9]{6,})/i'
=> 'RFE #\\1',
// linking files
'/(\s+)([\\/a-z_0-9\.]+\.(?:php3?|html|pl|js|sh))/i'
=> '\\1\\2',
// FAQ entries
'/FAQ ([0-9]+)\.([0-9a-z]+)/i'
=> 'FAQ \\1.\\2',
// linking bugs
'/bug\s*#?([0-9]{6,})/i'
=> 'bug #\\1',
// all other 6+ digit numbers are treated as bugs
'/(? ' bug #\\1',
// CVE/CAN entries
'/((CAN|CVE)-[0-9]+-[0-9]+)/'
=> '\\1',
// Highlight releases (with links)
'/(( ### )(([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+) (.*)))/'
=> '\\2\\4.\\5.\\6.\\7 \\8',
'/(( ### )(([0-9]+)\.([0-9]+)\.([0-9]+) (.*)))/'
=> '\\2\\4.\\5.\\6 \\7',
// Highlight releases (not linkable)
'/( ### )(.*)/'
=> '\\1\\2',
);
header('Content-type: text/html; charset=utf-8');
echo '';
?>
phpMyAdmin - ChangeLog
phpMyAdmin - ChangeLog
';
echo preg_replace(array_keys($replaces), $replaces, $changelog);
echo '';
?>