Variable: lua--beginning-of-defun-re
lua--beginning-of-defun-re is a variable defined in lua-mode.el.gz.
Value
"\\(?:^\\(?:\\_<local\\_>[ ]+\\)?\\(?:\\_<function\\_>[ ]*\\(?1:\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\(?:[ ]*\\.[ ]*\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\)*\\(?:[ ]*:[ ]*\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\)?\\)\\|\\(?1:\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\(?:[ ]*\\.[ ]*\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\)*\\(?:[ ]*:[ ]*\\_<[_[:alpha:]]+[_[:alnum:]]*\\_>\\)?\\)[ ]*=[ ]*\\_<function\\_>\\)\\)"
Documentation
Lua top level (matches only at the beginning of line) function header regex.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defvar lua--beginning-of-defun-re
(lua-rx-to-string '(: bol (? (symbol "local") ws+) lua-funcheader))
"Lua top level (matches only at the beginning of line) function header regex.")