From: Petr Baudis Date: Wed, 18 Nov 2009 08:26:36 GMT Subject: Re: [RFC PATCH 1/6] gitweb: Hyperlink committags in a commit message by regex matching Message-ID: <20091118082636.GE12890@machine.or.cz> In-Reply-To: <1258525350-5528-2-git-send-email-marcel@oak.homeunix.org> On Tue, Nov 17, 2009 at 10:22:25PM -0800, Marcel M. Cary wrote: > + # Avoid matching punctuation that might immediately follow > + # a url, is not part of the url, and is allowed in urls, > + # like a full-stop ('.'). > + 'pattern' => qr!(https?|ftps?|git|ssh|ssh+git|sftp|smb|webdavs?| > + nfs|irc|nntp|rsync) > + ://[-_a-zA-Z0-9\@/&=+~#<>;%:.?]+ > + [-_a-zA-Z0-9\@/&=+~#<>]!x, You meant ssh\+git here. ;-) Petr "Pasky" Baudis