commit 25ff20c
default
·
2024-10-03 15:10:30 +0000 UTC
parent 0e21b38
Add the apostrophe as another stop char for hashtags.
1 files changed,
+1,
-1
+1,
-1
1@@ -721,7 +721,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag)
2 /* use this same server */
3 def_srv = xs_dup(xs_dict_get(srv_config, "host"));
4
5- split = xs_regex_split(content, "(@[A-Za-z0-9_]+(@[A-Za-z0-9\\.-]+)?|&#[0-9]+;|#[^ ,\\.:;<]+)");
6+ split = xs_regex_split(content, "(@[A-Za-z0-9_]+(@[A-Za-z0-9\\.-]+)?|&#[0-9]+;|#[^ ',\\.:;<]+)");
7
8 p = split;
9 while (xs_list_iter(&p, &v)) {