]> sipb.mit.edu Git - ikiwiki.git/blobdiff - gitremotes
use pagespec_match_list for feedpages
[ikiwiki.git] / gitremotes
index 7b9484dd16dc3c4f3a1ee36ab566dfd0aa8eb07b..91bf2fe84fb4580c1b479076a774066f09b20870 100755 (executable)
@@ -6,7 +6,7 @@ my $error=0;
 
 open (IN, "doc/git.mdwn") || die "doc/git.mdwn: $!";
 while (<IN>) {
-       if (/^\*\s+\[?\[?(\w+)\]?\]?\s+`([^>]+)`/) {
+       if (/^\*\s+\[?\[?(\w+)(?:\|\w+)?\]?\]?\s+`([^>]+)`/) {
                # note that the remote name has to be a simple word (\w)
                # for security/sanity reasons
                my $remote=$1;