Allow manpages in hashtag names. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit a43c2ea0fe3cb30f15f3172df3840addc4ad7144 | |
parent f7b9b1659423a3135dfc24ad4e07ea842582d9af | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Wed, 17 Mar 2021 20:07:32 +0100 | |
Allow manpages in hashtag names. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -732,7 +732,7 @@ then | |
else | |
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) |