(concat "^[ \t\r\n]*"
(regexp-alt-raw
- '("define +\\(host\\|service\\|timeperiod\\|contact\\|command\\)"
- "define +\\(host\\|contact\\|service\\)group"
- "define +\\(service\\|host\\)dependency"
- "define +\\(service\\|host\\|hostgroup\\)escalation"))
+ '("define command"
+ "define contact"
+ "define contactgroup"
+ "define host"
+ "define hostdependency"
+ "define hostescalation"
+ "define hostextinfo"
+ "define hostgroup"
+ "define hostgroupescalation"
+ "define null"
+ "define service"
+ "define servicedependency"
+ "define serviceescalation"
+ "define serviceextinfo"
+ "define servicegroup"
+ "define timeperiod"))
;; These can be "terminated" by either an opening curly
;; brace, or a space.