regexp.h

来自「操作系统源代码」· C头文件 代码 · 共 22 行

H
22
字号
/* * Definitions etc. for regexp(3) routines. * * Caveat:  this is V8 regexp(3) [actually, a reimplementation thereof], * not the System V one. */#define NSUBEXP  10typedef struct regexp {	char	*startp[NSUBEXP];	char	*endp[NSUBEXP];	int	minlen;		/* length of shortest possible match */	char	first;		/* first character, if known; else \0 */	char	bol;		/* boolean: must start at beginning of line? */	char	program[1];	/* Unwarranted chumminess with compiler. */} regexp;extern regexp *regcomp();extern int regexec();extern void regsub();extern void regerror();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?