(DISCARD_FAILURE_REG_OR_COUNT): Delete. (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. (re_match_2_internal): Be more careful with infinite loops.