Browse Source

dot is magic

master
anon 9 months ago
parent
commit
1ffe3f84b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/regex.c

+ 1
- 1
source/regex.c 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;
}


Loading…
Cancel
Save