Searched refs:nmatch (Results 1 – 7 of 7) sorted by relevance
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 320 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument 341 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 343 else if (nmatch > 0) in regexec() 345 if (nmatch <= POSIX_MALLOC_THRESHOLD) in regexec() 351 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE; in regexec() 352 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 375 0, options, ovector, (int)(nmatch * 3)); in regexec() 377 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */ in regexec() 392 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
H A D | ChangeLog | 2344 value for nmatch with a NULL value for pmatch, the value of 2345 nmatch is forced to zero. 3934 9. In the POSIX regexec() interface, if nmatch is specified as a ridiculously 3942 with this option is matched, the nmatch and pmatch options of regexec() are
|
/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | regposix.c | 166 regexec(regex_t* reg, const char* str, size_t nmatch, in regexec() argument 178 if (nmatch == 0 || (reg->comp_options & REG_NOSUB) != 0) { in regexec() 180 nmatch = 0; in regexec() 182 else if ((int )nmatch < ONIG_C(reg)->num_mem + 1) { in regexec() 200 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch); in regexec() 205 for (i = 0; i < (int )nmatch; i++) in regexec() 216 if (reg->re_nsub > nmatch - 1) in regexec() 217 reg->re_nsub = (nmatch <= 1 ? 0 : nmatch - 1); in regexec()
|
H A D | onigposix.h | 155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, i…
|
H A D | HISTORY | 1019 fix nmatch argument of regexec() is smaller than 1022 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
|
/PHP-7.0/ext/fileinfo/ |
H A D | libmagic.patch | 2300 -file_regexec(file_regex_t *rx, const char *str, size_t nmatch, 2304 - return regexec(&rx->rx, str, nmatch, pmatch, eflags);
|
/PHP-7.0/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 9524 size_t nmatch, regmatch_t pmatch[], int eflags); 9608 ing, the nmatch and pmatch arguments are ignored, and no captured 9713 nmatch. This is a BSD extension, compatible with but not specified by 9720 matched strings is returned. The nmatch and pmatch arguments of 9723 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9728 an array of nmatch structures of type regmatch_t, containing the mem-
|
Completed in 63 milliseconds