SVN: nagios-notify/trunk/nagios-notify

glen glen at pld-linux.org
Tue Nov 4 23:57:03 CET 2008


Author: glen
Date: Tue Nov  4 23:57:02 2008
New Revision: 9966

Modified:
   nagios-notify/trunk/nagios-notify
Log:
- allow comparing empty string

Modified: nagios-notify/trunk/nagios-notify
==============================================================================
--- nagios-notify/trunk/nagios-notify	(original)
+++ nagios-notify/trunk/nagios-notify	Tue Nov  4 23:57:02 2008
@@ -221,7 +221,7 @@
 		# - numbers
 		# - strings in quotes
 		# - regexps between //
-		COND_VARS = "[0-9]+|\"[^\"]+\"|/[^/]+/";
+		COND_VARS = "[0-9]+|\"[^\"]*\"|/[^/]+/";
 
 		# valid mathematical operands we support
 		MATH_OPS = "\+|-|\*|/"


More information about the pld-cvs-commit mailing list