--- a/state/util.go Tue Oct 03 22:13:07 2017 -0500
+++ b/state/util.go Tue Oct 03 22:17:51 2017 -0500
@@ -21,8 +21,8 @@
-var re1 = regexp.MustCompile("\\$[A-Za-z0-9_]+")
-var re2 = regexp.MustCompile("\\${[A-Za-z0-9_]+}")
+var re1 = regexp.MustCompile("\\$[A-Za-z_][A-Za-z0-9_]*") +var re2 = regexp.MustCompile("\\${[A-Za-z_][A-Za-z0-9_]*}") // getNames extracts all variables with the format $var or ${var} from