From 1ffe3f84b02bce2bfca0c37265f23fe338246832 Mon Sep 17 00:00:00 2001 From: anon <anon@anon.anon> Date: Mon, 28 Aug 2023 15:43:32 +0200 Subject: [PATCH] dot is magic --- source/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/regex.c b/source/regex.c index 57543fc..9d01efa 100644 --- a/source/regex.c +++ b/source/regex.c @@ -24,7 +24,7 @@ bool is_magic(const char c) { if (is_quantifier(c)) { return true; } - for (const char * s = "\\[]"; *s != '\00'; s++) { + for (const char * s = "\\[]."; *s != '\00'; s++) { if (*s == c) { return true; }