summary refs log tree commit diff
diff options
context:
space:
mode:
-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();