Thread (30 messages) flat view 30 messages, 6 authors, 2016-06-15

Re: [RFC PATCH 1/6] gitweb: Hyperlink committags in a commit message by regex matching

From: Petr Baudis <hidden>
Date: 2016-06-15 22:47:44

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help