Lines Matching defs:regexp
63 sethlp(char *msg, char *regexp[], int length)
74 if (regexp && regexp[0]) {
75 (void) strcat(msg, regexp[1] ? HLPMSG2 : HLPMSG3);
76 for (i = 0; regexp[i]; i++) {
78 (void) strcat(msg, regexp[i]);
86 ckstr_val(char *regexp[], int length, char *input)
96 if (regexp && regexp[0]) {
98 for (i = 0; !valid && regexp[i]; ++i) {
99 if (!__compile(regexp[i], expbuf, &expbuf[ESIZE], '\0'))
113 ckstr_err(char *regexp[], int length, char *error, char *input)
119 if (ckstr_val(regexp, length, input)) {
127 defhlp = sethlp(temp, regexp, length);
132 ckstr_hlp(char *regexp[], int length, char *help)
137 defhlp = sethlp(hlpbuf, regexp, length);
142 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error,
171 defhlp = sethlp(hlpbuf, regexp, length);
179 if (ckstr_val(regexp, length, input)) {