removed regex from var parser, replaced % with [[ and ]], updated VariableParser API