Lines Matching defs:match
126 int nf_internal; // should match NF
195 // static char *specialfuncs = " close index match split "
340 "close index match split "
1307 // close, index, match, split, sub, gsub, sprintf, substr
1695 // bwk treats these as keywords, not builtins: close index match split sub gsub
2618 // Used by the match/not match ops (~ !~) and implicit $0 match (/regex/)
2619 static int match(struct zvalue *zvsubject, struct zvalue *zvpat)
2629 error_exit("regex match error %d: %s", r, errbuf);
2649 // Differs from rx_find() in that FS cannot match null (empty) string.
2654 if (r || *start != *end) return r; // not found, or found non-empty match
2655 // Found empty match, retry starting past the match
2657 if (!*p) return REG_NOMATCH; // End of string, no non-empty match found
2658 // Empty match not at EOS, move ahead and try again
2661 if (r || !*p) return REG_NOMATCH; // no non-empty match found
2682 // match only that one char in case FS is a regex metachar.
3500 // Skip match if not at start and just after prev match and this is empty
3505 memmove(e, sp, eo - so); //copy match
3674 int mret = match(&FIELD[0], &LITERAL[op2]);
3680 mret = match(STKP-1, STKP); // mret == 0 if match
3840 // match the formal parameters (parms) defined in the function