feat: use regex to match no strstr

This commit is contained in:
DreamMaoMao
2025-05-18 18:26:06 +08:00
parent aa0e1e1fe9
commit 64b15fe4e7
5 changed files with 59 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
/* See LICENSE.dwm file for copyright and license details. */
void die(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
int fd_set_nonblock(int fd);
int regex_match(const char *pattern_mb, const char *str_mb);