Variable: *c-def-regexp*
*c-def-regexp* is a variable defined in completion.el.gz.
Value
"\n[_a-zA-Z#]"
Documentation
A regexp that searches for a definition form.
Source Code
;; Defined in /usr/src/emacs/lisp/completion.el.gz
;; Regexps
(defconst *c-def-regexp*
;; This stops on lines with possible definitions
"\n[_a-zA-Z#]"
;; This stops after the symbol to add.
;;"\n\\(#define\\s +.\\|\\(\\(\\w\\|\\s_\\)+\\b\\s *\\)+[(;,[*{=]\\)"
;; This stops before the symbol to add. {Test cases in parens. below}
;;"\n\\(\\(\\w\\|\\s_\\)+\\s *(\\|\\(\\(#define\\|auto\\|extern\\|register\\|static\\|int\\|long\\|short\\|unsigned\\|char\\|void\\|float\\|double\\|enum\\|struct\\|union\\|typedef\\)\\s +\\)+\\)"
;; this simple version picks up too much extraneous stuff
;; "\n\\(\\w\\|\\s_\\|#\\)\\B"
"A regexp that searches for a definition form.")