ugh
This commit is contained in:
parent
3d56f3021b
commit
8080b44613
@ -557,10 +557,11 @@ regex_t * regex_compile(const char * const pattern) {
|
|||||||
s += 1;
|
s += 1;
|
||||||
} break;
|
} break;
|
||||||
case '>': {
|
case '>': {
|
||||||
HOOK_ALL(0, whitelist, 0, &cs, regex);
|
HOOK_ALL(0, whitelist, +1, &cs, regex);
|
||||||
cs.flags |= IS_NEGATIVE | INCREMENT_STATE;
|
cs.flags |= IS_NEGATIVE | INCREMENT_STATE;
|
||||||
strcat(blacklist, JEGER_CHAR_symbol_chars);
|
strcat(blacklist, JEGER_CHAR_symbol_chars);
|
||||||
OFFSHOOT(+1, +2, 0, 0, &cs, regex);
|
OFFSHOOT(+1, +2, 0, 0, &cs, regex);
|
||||||
|
++cs.state;
|
||||||
s += 1;
|
s += 1;
|
||||||
} break;
|
} break;
|
||||||
// quantifiers
|
// quantifiers
|
||||||
|
Loading…
Reference in New Issue
Block a user