Function: he-line-search-regexp
he-line-search-regexp is a byte-compiled function defined in
hippie-exp.el.gz.
Signature
(he-line-search-regexp PAT STRIP-PROMPT)
Source Code
;; Defined in /usr/src/emacs/lisp/hippie-exp.el.gz
(defun he-line-search-regexp (pat strip-prompt)
(if strip-prompt
(concat "\\(" comint-prompt-regexp "\\|^\\s-*\\)\\(?2:"
(regexp-quote pat)
"[^\n]*[^ \t\n]\\)")
(concat "^\\(\\s-*\\)\\("
(regexp-quote pat)
"[^\n]*[^ \t\n]\\)")))