From 63a57fee9e75c6fad2b146a125ac8f029773a36b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 19 Feb 2020 08:17:09 +0000 Subject: build-aux/txt2pre: match '!' and '@' in URLs --- build-aux/txt2pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/txt2pre b/build-aux/txt2pre index 2bada68..0e1b2a2 100755 --- a/build-aux/txt2pre +++ b/build-aux/txt2pre @@ -37,7 +37,7 @@ unless (defined $title) { # temporarily swap > for escape so our s!! to add href works. # there's probably a way to do this with only a single s!! ... $str =~ s!>!\e!g; -$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#=-]+)!$1!g; $str =~ s!\e!>!g; # swap escapes back to > -- cgit v1.2.3-24-ge0c7