This commit is contained in:
anon 2023-09-22 21:12:58 +02:00
parent 3d56f3021b
commit 8080b44613

View File

@ -557,10 +557,11 @@ regex_t * regex_compile(const char * const pattern) {
s += 1;
} break;
case '>': {
HOOK_ALL(0, whitelist, 0, &cs, regex);
HOOK_ALL(0, whitelist, +1, &cs, regex);
cs.flags |= IS_NEGATIVE | INCREMENT_STATE;
strcat(blacklist, JEGER_CHAR_symbol_chars);
OFFSHOOT(+1, +2, 0, 0, &cs, regex);
++cs.state;
s += 1;
} break;
// quantifiers