Function: vhdl-re-search-backward

vhdl-re-search-backward is a byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-re-search-backward REGEXP &optional BOUND NOERROR COUNT)

Documentation

Like re-search-backward, but does not match within literals.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-re-search-backward (regexp &optional bound noerror count)
  "Like `re-search-backward', but does not match within literals."
  (let (pos)
    (save-excursion
      (while (and (setq pos (re-search-backward regexp bound noerror count))
		  (save-match-data (vhdl-in-literal)))))
    (when pos (goto-char pos))
    pos))