(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 27 Mar 2000 22:26:54 +0000 (22:26 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 27 Mar 2000 22:26:54 +0000 (22:26 +0000)
commited0767d80f1d3ae00b4a89576b009e44398cc1ba
tree3628c75f0a930d59d45d3ba1b0dc9c38b1c4e7a5
parente11e7e46bcd0f5310d5a8ed56908993d8662866f
(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
(enum re_opcode_t): Update description of succeed_n.
(PATFETCH): Always define.
(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
operators, char classes, shy-groups and intervals).
Optimize special cases of intervals so as to only use succeed_n and
jump_n when really needed.
(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
that we don't have to handle the special cases any more.
Simplify on_failure_jump handling as well.
src/ChangeLog
src/regex.c