Function: pascal-build-defun-re

pascal-build-defun-re is a byte-compiled function defined in pascal.el.gz.

Signature

(pascal-build-defun-re STR &optional ARG)

Documentation

Return function/procedure starting with STR as regular expression.

With optional second arg non-nil, STR is the complete name of the instruction.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/pascal.el.gz
(defun pascal-build-defun-re (str &optional arg)
  "Return function/procedure starting with STR as regular expression.
With optional second arg non-nil, STR is the complete name of the instruction."
  (if arg
      (concat "^\\(function\\|procedure\\)[ \t]+\\(" str "\\)\\>")
    (concat "^\\(function\\|procedure\\)[ \t]+\\(" str "[a-zA-Z0-9_]*\\)\\>")))