Searched refs:regstart (Results 1 – 4 of 4) sorted by relevance
72 int regstart; member112 int regstart; // char at start of pattern member
2524 r->regstart = NUL; // Worst-case defaults. in bt_regcomp()2552 r->regstart = (*mb_ptr2char)(OPERAND(scan)); in bt_regcomp()2554 r->regstart = *OPERAND(scan); in bt_regcomp()2566 r->regstart = *OPERAND(regnext(scan)); in bt_regcomp()4935 if (prog->regstart == NUL in bt_regexec_both()4936 || prog->regstart == c in bt_regexec_both()4939 || (c < 255 && prog->regstart < 255 && in bt_regexec_both()4953 if (prog->regstart != NUL) in bt_regexec_both()5177 if (r->regstart != NUL) in regdump()5179 ? (char *)transchar(r->regstart) in regdump()[all …]
2950 if (prog->regstart != NUL) in nfa_dump()2952 prog->regstart, prog->regstart); in nfa_dump()5657 len2 = MB_CHAR2LEN(regstart); // skip regstart in find_match_text()5692 col += MB_CHAR2LEN(regstart); // skip regstart in find_match_text()5693 if (skip_to_start(regstart, &col) == FAIL) in find_match_text()7082 if (prog->regstart != NUL && clen != 0) in nfa_regmatch()7090 if (skip_to_start(prog->regstart, &col) == FAIL) in nfa_regmatch()7103 if (c != prog->regstart && (!rex.reg_ic in nfa_regmatch()7413 if (prog->regstart != NUL) in nfa_regexec_both()7417 if (skip_to_start(prog->regstart, &col) == FAIL) in nfa_regexec_both()[all …]
16947 Problem: New regexp engine: regstart is only used to find the first match.16948 Solution: Use regstart whenever adding the start state.