Lines Matching refs:re
125 regex_t re; /* compiled re */ member
148 List_t re; /* re list */ member
210 if (c = regcomp(&x->re, s, state->options|REG_MULTIPLE)) in addre()
211 regfatal(&x->re, 3, c); in addre()
217 if (state->number || !regrecord(&x->re)) in addre()
220 else if (state->label || regcomb(&p->tail->re, &x->re)) in addre()
223 if (!state->byline && (state->number || !state->label || !regrecord(&x->re))) in addre()
257 addre(state, &state->re, x->string); in compile()
284 addre(state, &state->re, s); in compile()
291 addre(state, &state->re, s); in compile()
298 if (!state->re.head) in compile()
388 x = state->re.head; in execute()
391 if (!(result = regnexec(&x->re, s, len, state->posnum, state->pos, 0))) in execute()
412 regfatal(&x->re, 3, result); in execute()
493 x = state->re.head; in execute()
497 …if ((result = regrexec(&x->re, span, t - span, state->posnum, state->pos, state->options, '\n', (v… in execute()
500 regfatal(&x->re, 3, result); in execute()
521 x = state->re.head; in execute()
525 …if ((result = regrexec(&x->re, s, t - s, state->posnum, state->pos, state->options, '\n', (void*)&… in execute()
528 regfatal(&x->re, 3, result); in execute()
568 x = state->re.head; in execute()
840 x = state.re.head; in grep_main()