]> gitweb.michael.orlitzky.com - nagios-mode.git/blobdiff - nagios-mode.el
Changed the object definition regex to use the output of parse_object_definitions.
[nagios-mode.git] / nagios-mode.el
index 722450edfd87130ce9d06762df9d8fdd568c7cc4..ecf5affff360f5d05338717e50c120d548799427 100644 (file)
     (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.