aboutsummaryrefslogtreecommitdiff
path: root/emcollect
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-31 13:18:04 +0000
committerJohn Ankarström <john@ankarstrom.se>2021-01-31 13:18:04 +0000
commit75303cb47fead302ad02982a0fe6d09dcc78372d (patch)
tree0f166f9780939ccd72147a3fcd0aeb7c477c9812 /emcollect
parentf679e1bca1ef5b018115eaeacfd4c1e8e17cc007 (diff)
downloadem-75303cb47fead302ad02982a0fe6d09dcc78372d.tar.gz
Support literal hyperlinks starting with a hash
Diffstat (limited to 'emcollect')
-rwxr-xr-xemcollect2
1 files changed, 1 insertions, 1 deletions
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 }