diff --git a/cmake/generate_appdata.cmake b/cmake/generate_appdata.cmake
index 6fc5e94c..e823f92c 100644
--- a/cmake/generate_appdata.cmake
+++ b/cmake/generate_appdata.cmake
@@ -6,6 +6,6 @@ string(REGEX REPLACE "
([^<]*)<\\/p>" "\\1" RELEASES ${HTML_CHANGELOGS}) # rem
string(REGEX REPLACE "
([A-Za-z0-9]*)<\\/h4>" "
\\1
" RELEASES ${RELEASES}) # h4 is unknow to appdata so change it to a paragraph environment
string(REPLACE "\n" "\n\t" RELEASES ${RELEASES}) # add tabulator
# For Dev Version "vX.X.X - (WIP)" can be used to show in the changelog the current progress
-string(REGEX REPLACE "(v[1-9]\\.[0-9]\\.[0-9]|vX\\.X\\.X) - ([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]) \\((WIP){0,1}\\)<\\/h3>" "\n\t" RELEASES ${RELEASES})
+string(REGEX REPLACE "((v[1-9]\\.[0-9]\\.[0-9])|(vX\\.X\\.X)) - ([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9])( \\(WIP\\)){0,1}<\\/h3>" "\n\t" RELEASES ${RELEASES})
string(REGEX REPLACE "
" "\n\t" RELEASES ${RELEASES})
configure_file(${APPDATA_CONF} ${APPDATA})