Allow all tags to be found with tag processing. - 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 c2ef5f0f9958336373a45f5f4f8e0f5e4b1559e7
DIR parent 1bf11ab8c9fb554359ccdfaed23b271c784c9482
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 12 Dec 2020 22:43:40 +0100
Allow all tags to be found with tag processing.
Diffstat:
M annna-start-services | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/annna-start-services b/annna-start-services
@@ -675,7 +675,7 @@ annna_common() {
printf '%s' "$text" | awk -v taglimit="$printnhashtags" '
$0 ~ /#/ && $0 !~ /#nospoil/ {
for (i = 1; i <= NF; i++)
- if (match($i, /#[A-z0-9&\+-=]*/))
+ if (match($i, /#[^ ?!\.$]*/))
tags[j++] = substr($i, RSTART, RLENGTH)
}
END {