diff --git a/changelog.php b/changelog.php
index 7b8c6f3ec..5e85e6685 100644
--- a/changelog.php
+++ b/changelog.php
@@ -74,10 +74,10 @@ $replaces = array(
=> '\\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',
+ '/([0-9]+)\.([0-9]+)\.([0-9]+)\.0 (\([0-9-]+\))/'
+ => '\\1.\\2.\\3.0 \\4',
+ '/([0-9]+)\.([0-9]+)\.([0-9]+)\.([1-9][0-9]*) (\([0-9-]+\))/'
+ => '\\1.\\2.\\3.\\4 \\5',
// Highlight releases (not linkable)
'/( ### )(.*)/'