mirror of
https://git.lain.church/emil/libhl.git
synced 2025-06-14 22:51:25 +00:00
dot is magic
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user