Variable: octave-function-header-regexp

octave-function-header-regexp is a variable defined in octave.el.gz.

Value

"^\\s-*\\_<\\(function\\)\\_>\\([^=;(\n]*=[       ]*\\|[  ]*\\)\\(\\(?:\\w\\|\\s_\\)+\\)\\_>"

Documentation

Regexp to match an Octave function header.

The string function and its name are given by the first and third parenthetical grouping.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
(defvar octave-function-header-regexp
  (concat "^\\s-*\\_<\\(function\\)\\_>"
	  "\\([^=;(\n]*=[ \t]*\\|[ \t]*\\)\\(\\(?:\\w\\|\\s_\\)+\\)\\_>")
  "Regexp to match an Octave function header.
The string `function' and its name are given by the first and third
parenthetical grouping.")