Function: verilog-build-defun-re
verilog-build-defun-re is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-build-defun-re STR &optional ARG)
Documentation
Return function/task/module 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/verilog-mode.el.gz
(defun verilog-build-defun-re (str &optional arg)
"Return function/task/module starting with STR as regular expression.
With optional second ARG non-nil, STR is the complete name of the instruction."
(unless arg
(setq str (concat str "[a-zA-Z0-9_]*")))
(concat "^\\s-*\\(function\\|task\\|module\\)[ \t]+\\(?:\\(?:static\\|automatic\\)\\s-+\\)?\\(" str "\\)\\>"))