Home | History | Annotate | Download | only in regex

Lines Matching refs:rest

298 	char *rest;	/* start of rest of string */
299 char *tail; /* string unmatched by rest of RE */
350 rest = slow(m, sp, stp, ss, es);
351 assert(rest != NULL); /* it did match */
352 /* could the rest match the rest? */
353 tail = slow(m, rest, stop, es, stopst);
357 stp = rest - 1;
363 if (slow(m, sp, rest, ssub, esub) != NULL) {
364 dp = dissect(m, sp, rest, ssub, esub);
365 assert(dp == rest);
367 assert(sp == rest);
368 sp = rest;
374 rest = slow(m, sp, stp, ss, es);
375 assert(rest != NULL); /* it did match */
376 /* could the rest match the rest? */
377 tail = slow(m, rest, stop, es, stopst);
381 stp = rest - 1;
389 sep = slow(m, ssp, rest, ssub, esub);
400 assert(sep == rest); /* must exhaust substring */
401 assert(slow(m, ssp, sep, ssub, esub) == rest);
404 sp = rest;
410 rest = slow(m, sp, stp, ss, es);
411 assert(rest != NULL); /* it did match */
412 /* could the rest match the rest? */
413 tail = slow(m, rest, stop, es, stopst);
417 stp = rest - 1;
424 if (slow(m, sp, rest, ssub, esub) == rest)
437 dp = dissect(m, sp, rest, ssub, esub);
438 assert(dp == rest);
439 sp = rest;
635 case OLPAREN: /* must undo assignment if rest fails */
646 case ORPAREN: /* must undo assignment if rest fails */