From: anon Date: Mon, 28 Aug 2023 13:43:32 +0000 (+0200) Subject: dot is magic X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=1ffe3f84b02bce2bfca0c37265f23fe338246832;p=public-libhl.git dot is magic --- 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; }