nmatch
int i, cur, nmatch;
nmatch = seqmatch(string, n, sp);
if (sp->len == nmatch && n >= (size_t)(sp->len))
nmatch = seqmatch(string, n, sp);
if (!nmatch)
if ((size_t)(nmatch) == n) {
if (nmatch == sp->len) {
size_t nmatch; /* Length of pmatch[] array. */
size_t nmatch, regmatch_t pmatch[__restrict_arr], int eflags);
size_t nmatch, regmatch_t pmatch[], int eflags);
size_t nmatch, regmatch_t pmatch[], int eflags);
size_t nmatch, regmatch_t pmatch[], int eflags);
static int nmatch();
m = nmatch(addrp, &(sip->sin_addr));
int *nmatch, int flags)
if (nmatch != NULL)
*nmatch = xmatch;
extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test)
matchprint(match, nmatch, nsub, NiL, test);
catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test)
int nmatch;
nmatch = 20;
nmatch = strtol(p, &p, 10);
if (nmatch >= elementsof(match))
if ((j = nmatch) > sizeof(buf))
if (nmatch > nsub)
nmatch = nsub + 1;
eret = regnexec(&preg, s, nexec, nmatch, match, eflags);
eret = regexec(&preg, s, nmatch, match, eflags);
eret = regexec(&preg, s, nmatch, match, eflags);
eret = regsubexec(&preg, s, nmatch, match);
eret = regsubexec(&preg, s, nmatch, match);
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
matchprint(match, nmatch, nsub, NiL, test);
matchprint(match, nmatch, nsub, NiL, test);
else if (matchcheck(match, nmatch, nsub, ans, re, s, nstr, flags, test))
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_OK);
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test)
for (; nmatch > nsub + 1; nmatch--)
if ((match[nmatch-1].rm_so != -1 || match[nmatch-1].rm_eo != -1) && (!(test & TEST_IGNORE_POSITION) || match[nmatch-1].rm_so >= 0 && match[nmatch-1].rm_eo >= 0))
for (i = 0; i < nmatch; i++)
matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flags, unsigned long test)
for (i = 0, p = ans; i < nmatch && *p; i++)
matchprint(match, nmatch, nsub, ans, test);
for (; i < nmatch; i++)
matchprint(match, nmatch, nsub, ans, test);
if (!(test & TEST_IGNORE_OVER) && match[nmatch].rm_so != state.NOMATCH.rm_so)
matchprint(match, nmatch + 1, nsub, NiL, test);
size_t len, nmatch;
nmatch = 4;
if (regexec(&re, s, nmatch, pmatch, 0) != 0)
size_t len, nmatch;
nmatch = 4;
if (regexec(&re, s, nmatch, pmatch, 0) != 0)
int *nmatch, int flags)
if (nmatch)
*nmatch = io.pfrio_nmatch;
int rv = 0, flags = 0, nmatch = 0;
&nmatch, flags));
xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
if (nmatch < b.pfrb_size)
int nmatch;
nmatch = 0;
nmatch++;
nmatch++;
*pmatch = nmatch;
int nmatch;
cmd = FindCommand(cmds, argv[argn], &nmatch);
if (nmatch > 1)