dot is magic

This commit is contained in:
anon 2023-08-28 15:43:32 +02:00
parent aa89deff8d
commit 1ffe3f84b0

View File

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