Home | History | Annotate | Download | only in regex

Lines Matching refs:lastc

681 	int lastc;	/* previous c */
694 lastc = c;
699 /* is there an EOL and/or BOL between lastc and c? */
702 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
703 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
719 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
723 if ( (lastc != OUT && ISWORD(lastc)) &&
765 int lastc; /* previous c */
778 lastc = c;
781 /* is there an EOL and/or BOL between lastc and c? */
784 if ( (lastc == '\n' && m->g->cflags&REG_NEWLINE) ||
785 (lastc == OUT && !(m->eflags&REG_NOTBOL)) ) {
801 if ( (flagch == BOL || (lastc != OUT && !ISWORD(lastc))) &&
805 if ( (lastc != OUT && ISWORD(lastc)) &&