Home
last modified time | relevance | path

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

/freebsd/contrib/less/
H A Dregexp.c49 * regmust string (pointer into program) that match must include, or NULL
50 * regmlen length of regmust string
54 * of lines that cannot possibly match. The regmust tests are costly enough
55 * that regcomp() supplies a regmust only if the r.e. contains something
253 r->regmust = NULL;
268 * regmust. Resolve ties in favor of later strings, since
281 r->regmust = longest;
729 if (prog->regmust != NULL) {
731 while ((s = strchr(s, prog->regmust[0])) != NULL) {
732 if (strncmp(s, prog->regmust, pro
[all...]
H A Dregexp.h17 char *regmust; /* Internal use only. */ member
/freebsd/contrib/sqlite3/autosetup/
H A Djimsh0.c1074 int regmust; member
22317 preg->regmust = 0; in jim_regcomp()
22342 preg->regmust = longest; in jim_regcomp()
23084 if (preg->regmust != 0) { in jim_regexec()
23086 while ((s = str_find(s, preg->program[preg->regmust], preg->cflags & REG_ICASE)) != NULL) { in jim_regexec()
23087 if (prefix_cmp(preg->program + preg->regmust, preg->regmlen, s, preg->cflags & REG_ICASE) >= 0) { in jim_regexec()