summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrmr2025-06-23 21:30:46 -0400
committerwrmr2025-06-23 21:30:46 -0400
commitd67eab5fb62ec69980057275af38ae8527534312 (patch)
tree9cd1ecd74ce32be1932717ce4c878a1693a05fc1
parent894e9a34a7657f3223f6ea385e66222361d89fc7 (diff)
allow more kinds of punctuation after $user in mentions
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index bd599d8..c458139 100644
--- a/main.c
+++ b/main.c
@@ -438,7 +438,7 @@ int main(void) {
Gfx gfx = { 0 };
regcomp(&re_mention, cstr_fmt(&temp_arena,
- "([ \t\n]+|^)[@~]?%s([: \t\n]|$)", getlogin()),
+ "([ \t\n]+|^)[@~]?%s([:;,.!? \t\n]|$)", getlogin()),
REG_EXTENDED | REG_ICASE | REG_NOSUB);
init_curses();