Searched defs:preg (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcreposix.c207 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) argument
217 addlength = (preg != NULL && (int)preg->re_erroffset != -1)?
223 sprintf(errbuf, "%s%s%-6d", message, addmessage, (int)preg->re_erroffset);
242 regfree(regex_t *preg) argument
244 (PUBL(free))(preg->re_pcre);
256 preg points to a structure for recording the compiled expression
265 regcomp(regex_t *preg, const char *pattern, int cflags) argument
281 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr,
283 preg
319 regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
[all...]
/PHP_TRUNK/ext/ereg/
H A Dereg.c68 regex_t preg; member in struct:__anon44
139 static int _php_regcomp(regex_t *preg, const char *pattern, int cflags TSRMLS_DC) argument
164 if (rc->preg.re_magic != reg_magic) {
168 memcpy(preg, &rc->preg, sizeof(*preg));
173 r = regcomp(preg, pattern, cflags);
179 memcpy(&rcp.preg, preg, sizeof(*preg));
[all...]

Completed in 6 milliseconds