Function: term-forward-matching-input

term-forward-matching-input is an interactive and byte-compiled function defined in term.el.gz.

Signature

(term-forward-matching-input REGEXP N)

Documentation

Search forward through buffer for match for REGEXP.

Matches are searched for on lines that match term-prompt-regexp. With prefix argument N, search for Nth following match. If N is negative, find the previous or Nth previous match.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-forward-matching-input (regexp n)
  "Search forward through buffer for match for REGEXP.
Matches are searched for on lines that match `term-prompt-regexp'.
With prefix argument N, search for Nth following match.
If N is negative, find the previous or Nth previous match."
  (interactive (term-regexp-arg "Forward input matching (regexp): "))
  (term-backward-matching-input regexp (- n)))