X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=contrib%2Fwiki2changelog.pl;h=e6affa5d8da73f589b172b555be8a934d1e9aa51;hp=b8fc965b5c78e9b2dee7ffec3b834830163a74c2;hb=master;hpb=cedb6f147e94d0e952449f731313412ef4d67904 diff --git a/contrib/wiki2changelog.pl b/contrib/wiki2changelog.pl index b8fc965b..e6affa5d 100755 --- a/contrib/wiki2changelog.pl +++ b/contrib/wiki2changelog.pl @@ -64,8 +64,8 @@ while (<>) $line =~ s#\{\{Plugin\|([^}]+)\}\}#$1 plugin#g; $line =~ s@\{\{Issue\|([^}]+)\}\}@#$1@g; - $line =~ s#\[\[[^|]+\|([^\]]+)\]\]#$1#g; - $line =~ s#\[\[([^|]+)\]\]#$1#g; + $line =~ s#\[\[[^|\]]+\|([^\]]+)\]\]#$1#g; + $line =~ s#\[\[([^|\]]+)\]\]#$1#g; $line =~ s#'''(.*?)'''#*$1*#g; $line =~ s#''(.*?)''#$1#g;