Lines Matching refs:regmatch
321 regmatch_T regmatch; in spell_check() local
325 regmatch.regprog = wp->w_s->b_cap_prog; in spell_check()
326 regmatch.rm_ic = FALSE; in spell_check()
327 r = vim_regexec(®match, ptr, 0); in spell_check()
328 wp->w_s->b_cap_prog = regmatch.regprog; in spell_check()
330 *capcol = (int)(regmatch.endp[0] - ptr); in spell_check()
2811 regmatch_T regmatch; in check_need_cap() local
2844 regmatch.regprog = curwin->w_s->b_cap_prog; in check_need_cap()
2845 regmatch.rm_ic = FALSE; in check_need_cap()
2852 if (vim_regexec(®match, p, 0) in check_need_cap()
2853 && regmatch.endp[0] == line + endcol) in check_need_cap()
2859 curwin->w_s->b_cap_prog = regmatch.regprog; in check_need_cap()