X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/3305fb9d36de3c32552da036ebc6db2611fe13fe..a0ace62664dd767a3894c1a708b8ed49e380c368:/gitremotes 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;