X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d135bd3f983fce11468037792b696cc32316023a..949eb252e9f918bd57e58b75479ed3b4c017f87d:/gitremotes diff --git a/gitremotes b/gitremotes index b14490924..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;