X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=gitremotes;h=91bf2fe84fb4580c1b479076a774066f09b20870;hb=3548b6214f67209b6ba87b741bf8ec45d3256f4f;hp=7b9484dd16dc3c4f3a1ee36ab566dfd0aa8eb07b;hpb=3305fb9d36de3c32552da036ebc6db2611fe13fe;p=ikiwiki.git diff --git a/gitremotes b/gitremotes index 7b9484dd1..91bf2fe84 100755 --- a/gitremotes +++ b/gitremotes @@ -6,7 +6,7 @@ my $error=0; open (IN, "doc/git.mdwn") || die "doc/git.mdwn: $!"; while () { - 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;