diff options
author | wrmr | 2025-06-23 21:30:46 -0400 |
---|---|---|
committer | wrmr | 2025-06-23 21:30:46 -0400 |
commit | d67eab5fb62ec69980057275af38ae8527534312 (patch) | |
tree | 9cd1ecd74ce32be1932717ce4c878a1693a05fc1 | |
parent | 894e9a34a7657f3223f6ea385e66222361d89fc7 (diff) |
allow more kinds of punctuation after $user in mentions
-rw-r--r-- | main.c | 2 |
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(); |