From 75303cb47fead302ad02982a0fe6d09dcc78372d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jan 2021 13:18:04 +0000 Subject: Support literal hyperlinks starting with a hash --- emcollect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emcollect') diff --git a/emcollect b/emcollect index 30cb7c0..c0f7759 100755 --- a/emcollect +++ b/emcollect @@ -16,4 +16,4 @@ BEGIN { expectblock = 1 } /^$/ { expectblock = 1; getline } expectblock && /^ \[[0-9]+\] / { block = "nl"; expectblock = 0 } -block = "nl" && /^ \[[0-9]+\] <[^ ]+>$/ { collect($0); next } +block = "nl" && /^ \[[0-9]+\] <(\.\/.*|\.\.\/.*|#.*|.*\/.*)>$/ { collect($0); next } -- cgit v1.2.3