include '/' to the list of characters absent from tags - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit cbc2dd7c56b6fd782c003214a5a7e34bf7047ce1 DIR parent ea1854a310ae05275e392beb53a2ae35bcd36a50 HTML Author: Josuah Demangeon <me@josuah.net> Date: Sat, 2 Jul 2022 16:29:51 +0200 include '/' to the list of characters absent from tags There might not be any tag into a subdirectory, and forbiding it permits to have s/something/#tag/ trigger #tag (already supported by s,something,#tag, syntax) Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -1004,7 +1004,7 @@ esac printf '%s' "$text" | awk -v taglimit="$printnhashtags" ' $0 !~ /#nospoil/ { - while (match($0, /#[^# "'\'',?!;$\001]+/)) { + while (match($0, /#[^# /"'\'',?!;$\001]+/)) { tag = substr($0, RSTART, RLENGTH) $0 = substr($0, RSTART + RLENGTH) sub(/[.]*$/, "", tag)