checkdoc-defun-regexp

checkdoc-defun-regexp is a variable defined in `checkdoc.el'.
Its value is

"^(def\\(un\\|var\\|custom\\|macro\\|const\\|subst\\|advice\\)\\s-+\\(\\(\\sw\\|\\s_\\)+\\)[ \n]+"


Documentation:
Regular expression used to identify a defun.
A search leaves the cursor in front of the parameter list.