Lines Matching refs:regexp
38 __RCSID("$NetBSD: regexp.c,v 1.19 2016/01/26 16:05:18 christos Exp $");
42 #include <regexp.h>
49 * The "internal use only" fields in regexp.h are present to pass info from
69 * Structure for regexp "program". This is essentially a linear encoding
206 * of the structure of the compiled regexp.
208 regexp *
212 regexp *r;
236 FAIL("regexp too big");
239 r = malloc(sizeof(regexp) + (unsigned)regsize);
781 STATIC int regtry __P((const regexp *, const char *));
787 void regdump __P((regexp *));
792 - regexec - match a regexp against a string
796 const regexp *prog;
861 const regexp *prog;
881 ((regexp *)prog)->startp[0] = (char *)string; /* XXX */
883 ((regexp *)prog)->endp[0] = reginput; /* XXX */
1166 - regdump - dump a regexp onto stdout in vaguely comprehensible form
1170 regexp *r;