Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 3 of 3) sorted by relevance

/PHP-7.1/ext/pcre/pcrelib/
H A Dpcreposix.c208 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
218 addlength = (preg != NULL && (int)preg->re_erroffset != -1)? in regerror()
243 regfree(regex_t *preg) in regfree() argument
245 (PUBL(free))(preg->re_pcre); in regfree()
266 regcomp(regex_t *preg, const char *pattern, int cflags) in regcomp() argument
282 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr, in regcomp()
284 preg->re_erroffset = erroffset; in regcomp()
289 if (preg->re_pcre == NULL) in regcomp()
297 preg->re_nsub = (size_t)re_nsub; in regcomp()
320 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument
[all …]
H A DChangeLog997 13. In the POSIX wrapper regcomp() function, setting re_nsub field in the preg
/PHP-7.1/ext/pcre/pcrelib/doc/
H A Dpcre.txt9520 int regcomp(regex_t *preg, const char *pattern,
9523 int regexec(regex_t *preg, const char *string,
9525 size_t regerror(int errcode, const regex_t *preg,
9528 void regfree(regex_t *preg);
9578 passed in the argument pattern. The preg argument is a pointer to a
9640 preg structure is filled in on success, and one member of the structure
9645 use the contents of the preg structure. If, for example, you pass it to
9686 The function regexec() is called to match a compiled pattern preg
9744 or regexec() to a printable message. If preg is not NULL, the error
9754 ciated with the preg structure. The function regfree() frees all such
[all …]

Completed in 37 milliseconds