]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Linkify.pm
linkify: match '~' (tilde) in URLs
[public-inbox.git] / lib / PublicInbox / Linkify.pm
index 4eddedd03646750783be13782bc8ce3cd63dced8..49ab311689751eacc704c292270abf93e6a03107 100644 (file)
@@ -17,7 +17,7 @@ use Digest::SHA qw/sha1_hex/;
 my $SALT = rand;
 my $LINK_RE = qr!\b((?:ftp|https?|nntp)://
                 [\@:\w\.-]+/
-                ?[\@\w\+\&\?\.\%\;/#=-]*)!x;
+                ?[~\@\w\+\&\?\.\%\;/#=-]*)!x;
 
 sub new { bless {}, shift }