Lines Matching refs:last

65 	 * repeat the last substitution.
129 * If the pattern string is empty, use the last RE (not just the
130 * last substitution RE).
173 * special case nonexistent last patterns or whether or not
182 * If the entire replacement pattern is "%", then use the last
246 * Substitute using the last substitute RE and replacement pattern.
268 * Substitute using the last RE and last substitute replacement pattern.
344 size_t blen, cnt, last, lbclen, lblen, len, llen;
370 * it only displayed the last change. I'd disallow them, but they are
573 * attempting to match after the last character, so quit.
604 * the last character in the line.
668 * Set the cursor to the last position changed, converting
712 last = 0;
717 lb + last, sp->newl[cnt] - last))
719 last = sp->newl[cnt] + 1;
722 lbclen -= last;
723 offset -= last;
728 if (db_set(sp, lno, lb + last, lbclen))
778 last = 0;
783 lno, lb + last, sp->newl[cnt] - last))
785 last = sp->newl[cnt] + 1;
788 lbclen -= last;
793 if (db_set(sp, lno, lb + last, lbclen))
805 * display the last line of a line split into multiple
824 * it moved it to the first non-blank of the last line changed. There
826 * last character of the line left the cursor on the last character, or
831 * doing substitution with confirmation, we move to the last line about
832 * which the user was consulted, as opposed to the last line that they
979 * from the last substitute command's replacement string. If O_MAGIC
1130 /* If the last character is a '/' or '?', we just strip it. */
1134 /* If the next-to-last or last character is a '$', it's magic. */