summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-20 11:23:13 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-20 11:23:13 +0000
commitd550eb56e42499ec82fb5073a11f8caeafa89094 (patch)
tree3c2dbcab2adcd4815c32a54843178821b59de661
parentfabfb88654766df9a31faab71d4d4ffee9ab48c7 (diff)
Updated macro regex
-rw-r--r--lib/custodian/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index ea25c3a..913fec7 100644
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -146,7 +146,7 @@ class MonitorConfig
#
# Get the name of the macro.
#
- name = $1.dup if ( line =~ /^([1-2A-Z_]+)\s+/ )
+ name = $1.dup if ( line =~ /^([0-9A-Z_]+)\s+/ )
#