ada-package-start-regexp

ada-package-start-regexp is a variable defined in `ada-mode.el'.
Its value is

"^[ ]*\\(private[ ]+\\)?\\(package\\)[ \n]+\\(body[ ]*\\)?\\([a-zA-Z][a-zA-Z0-9_.']*[a-zA-Z0-9]\\)"

  • This variable may be risky if used as a file-local variable.

Documentation:
Regexp matching start of package.
The package name is in (match-string 4).