Searched refs:nmatch (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 323 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument 344 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 346 else if (nmatch > 0) in regexec() 348 if (nmatch <= POSIX_MALLOC_THRESHOLD) in regexec() 354 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE; in regexec() 355 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 379 0, options, ovector, (int)(nmatch * 3)); in regexec() 381 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */ in regexec() 396 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
H A D | ChangeLog | 2530 value for nmatch with a NULL value for pmatch, the value of 2531 nmatch is forced to zero. 4120 9. In the POSIX regexec() interface, if nmatch is specified as a ridiculously 4128 with this option is matched, the nmatch and pmatch options of regexec() are
|
/PHP-7.2/ext/mbstring/oniguruma/src/ |
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…
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 2249 -file_regexec(file_regex_t *rx, const char *str, size_t nmatch, 2254 - memset(pmatch, 0, nmatch * sizeof(*pmatch)); 2255 - return regexec(&rx->rx, str, nmatch, pmatch, eflags);
|
/PHP-7.2/ext/mbstring/oniguruma/ |
H A D | HISTORY | 1107 fix nmatch argument of regexec() is smaller than 1110 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
|
/PHP-7.2/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 9571 size_t nmatch, regmatch_t pmatch[], int eflags); 9655 ing, the nmatch and pmatch arguments are ignored, and no captured 9760 nmatch. This is a BSD extension, compatible with but not specified by 9767 matched strings is returned. The nmatch and pmatch arguments of 9770 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9775 an array of nmatch structures of type regmatch_t, containing the mem-
|
Completed in 76 milliseconds