Variable: js--function-heading-3-re

js--function-heading-3-re is a variable defined in js.el.gz.

Value

"^\\s-*\\(?:var\\s-+\\)?\\([[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\s-*=\\s-*function\\_>"

Documentation

Regexp matching a line in the JavaScript form "var MUMBLE = function".

Match group 1 is MUMBLE.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--function-heading-3-re
  (concat
   "^\\s-*\\(?:var\\s-+\\)?\\(" js--dotted-name-re "\\)"
   "\\s-*=\\s-*function\\_>")
  "Regexp matching a line in the JavaScript form \"var MUMBLE = function\".
Match group 1 is MUMBLE.")