Function: sql-ends-with-prompt-re

sql-ends-with-prompt-re is a byte-compiled function defined in sql.el.gz.

Signature

(sql-ends-with-prompt-re)

Documentation

Anchor the prompt expression at the end of the output line.

Match a SQL prompt or a password prompt.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sql.el.gz
(defun sql-ends-with-prompt-re ()
  "Anchor the prompt expression at the end of the output line.
Match a SQL prompt or a password prompt."
  (concat "\\(?:\\(?:" sql-prompt-regexp "\\)\\|"
          "\\(?:" comint-password-prompt-regexp "\\)\\)\\'"))