]> Sergey Matveev's repositories - public-inbox.git/commit
linkify: do not capture trailing '.' or ';' in URLs
authorEric Wong <e@80x24.org>
Tue, 1 Mar 2016 03:44:04 +0000 (03:44 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Mar 2016 03:44:26 +0000 (03:44 +0000)
commit472d39de46603b180ab6e739e0b31ab7ef559870
tree69221f465d404166ab2dcfcc0f44a7c99deb8d31
parent704d1886ec4c34ffee0a37293970329418582211
linkify: do not capture trailing '.' or ';' in URLs

It seems common for users to end statements with URLs,
while it is rare for a URL itself to end with a '.' or ';'.
So make a guess and assume the URL was intended to not
include the trailing '.' or ';'
MANIFEST
lib/PublicInbox/Linkify.pm
t/linkify.t [new file with mode: 0644]