include '/' to the list of characters absent from tags - annna - Annna the nice… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit cbc2dd7c56b6fd782c003214a5a7e34bf7047ce1 | |
parent ea1854a310ae05275e392beb53a2ae35bcd36a50 | |
Author: Josuah Demangeon <[email protected]> | |
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 <[email protected]> | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
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) |