Lines Matching refs:regexp
1 /* $NetBSD: regexp.h,v 1.4 2023/10/06 05:49:49 simonb Exp $ */
4 * Definitions etc. for regexp(3) routines.
6 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
14 typedef struct regexp {
22 } regexp;
30 extern regexp *regcomp _ANSI_ARGS_((char *exp));
31 extern int regexec _ANSI_ARGS_((regexp *prog, char *string));
32 extern int regexec2 _ANSI_ARGS_((regexp *prog, char *string, int notbol));
33 extern void regsub _ANSI_ARGS_((regexp *prog, char *source, char *dest));
36 #endif /* REGEXP */