dot is magic
This commit is contained in:
parent
aa89deff8d
commit
1ffe3f84b0
@ -24,7 +24,7 @@ bool is_magic(const char c) {
|
|||||||
if (is_quantifier(c)) {
|
if (is_quantifier(c)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
for (const char * s = "\\[]"; *s != '\00'; s++) {
|
for (const char * s = "\\[]."; *s != '\00'; s++) {
|
||||||
if (*s == c) {
|
if (*s == c) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user