Function: term-how-many-region
term-how-many-region is a byte-compiled function defined in
term.el.gz.
Signature
(term-how-many-region REGEXP BEG END)
Documentation
Return number of matches for REGEXP from BEG to END.
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-how-many-region (regexp beg end)
"Return number of matches for REGEXP from BEG to END."
(let ((count 0))
(save-excursion
(save-match-data
(goto-char beg)
(while (re-search-forward regexp end t)
(setq count (1+ count)))))
count))