Introduction
Introduction Statistics Contact Development Disclaimer Help
stop reading hashtag at first apostrophe - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit ba5d536cf6f9894e2f83d59923c21aaa62de83c5
parent 8a366cb14e7adc50d9cd4401d1aa924bb947bb3b
Author: Anders Damsgaard <[email protected]>
Date: Thu, 4 Feb 2021 19:56:07 +0100
stop reading hashtag at first apostrophe
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-start-services | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -692,7 +692,7 @@ annna_common() {
printf '%s' "$text" | awk -v taglimit="$printnhashtags" '
$0 ~ /#/ && $0 !~ /#nospoil/ {
for (i = 1; i <= NF; i++)
- if (match($i, /#[^ ,?!$]*/))
+ if (match($i, /#[^ '"'"',?!$]*/))
tags[j++] = substr($i, RSTART, RLENGTH)
}
END {
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.