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 = "\+|-|\*|/"
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit