reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/regengine.inc
  505 		switch (OP(s = m->g->strip[ss])) {
  516 			cs = &m->g->sets[OPND(s)];
  521 			if ( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
  521 			if ( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
  522 					(sp < m->endp && *(sp-1) == '\n' &&
  523 						(m->g->cflags&REG_NEWLINE)) )
  529 			if ( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
  529 			if ( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
  530 					(sp < m->endp && *sp == '\n' &&
  531 						(m->g->cflags&REG_NEWLINE)) )
  537 			if (( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
  537 			if (( (sp == m->beginp && !(m->eflags&REG_NOTBOL)) ||
  538 					(sp < m->endp && *(sp-1) == '\n' &&
  539 						(m->g->cflags&REG_NEWLINE)) ||
  540 					(sp > m->beginp &&
  542 					(sp < m->endp && ISWORD(*sp)) )
  548 			if (( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
  548 			if (( (sp == m->endp && !(m->eflags&REG_NOTEOL)) ||
  549 					(sp < m->endp && *sp == '\n' &&
  550 						(m->g->cflags&REG_NEWLINE)) ||
  551 					(sp < m->endp && !ISWORD(*sp)) ) &&
  552 					(sp > m->beginp && ISWORD(*(sp-1))) )
  561 			s = m->g->strip[ss];
  565 			} while (OP(s = m->g->strip[ss]) != O_CH);
  581 	s = m->g->strip[ss];
  586 		if (m->pmatch[i].rm_eo == -1)
  589 		len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
  589 		len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
  595 		ssp = m->offp + m->pmatch[i].rm_so;
  595 		ssp = m->offp + m->pmatch[i].rm_so;
  598 		while (m->g->strip[ss] != SOP(O_BACK, i))
  600 		return(backref(m, sp+len, stop, ss+1, stopst, lev, rec));
  603 		dp = backref(m, sp, stop, ss+1, stopst, lev, rec);
  606 		return(backref(m, sp, stop, ss+OPND(s)+1, stopst, lev, rec));
  611 		m->lastpos[lev+1] = sp;
  612 		return(backref(m, sp, stop, ss+1, stopst, lev+1, rec));
  615 		if (sp == m->lastpos[lev])	/* last pass matched null */
  616 			return(backref(m, sp, stop, ss+1, stopst, lev-1, rec));
  618 		m->lastpos[lev] = sp;
  619 		dp = backref(m, sp, stop, ss-OPND(s)+1, stopst, lev, rec);
  621 			return(backref(m, sp, stop, ss+1, stopst, lev-1, rec));
  630 			dp = backref(m, sp, stop, ssub, esub, lev, rec);
  634 			if (OP(m->g->strip[esub]) == O_CH)
  639 			esub += OPND(m->g->strip[esub]);
  640 			if (OP(m->g->strip[esub]) == OOR2)
  649 		offsave = m->pmatch[i].rm_so;
  650 		m->pmatch[i].rm_so = sp - m->offp;
  650 		m->pmatch[i].rm_so = sp - m->offp;
  651 		dp = backref(m, sp, stop, ss+1, stopst, lev, rec);
  654 		m->pmatch[i].rm_so = offsave;
  660 		offsave = m->pmatch[i].rm_eo;
  661 		m->pmatch[i].rm_eo = sp - m->offp;
  661 		m->pmatch[i].rm_eo = sp - m->offp;
  662 		dp = backref(m, sp, stop, ss+1, stopst, lev, rec);
  665 		m->pmatch[i].rm_eo = offsave;