tooltip-process-prompt-regexp
tooltip-process-prompt-regexp is a compiled Lisp function in `tooltip.el
'.
(tooltip-process-prompt-regexp PROCESS)
Return regexp matching the prompt of PROCESS at the end of a string.
The prompt is taken from the value of `comint-prompt-regexp' in
the buffer of PROCESS.