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; }