Hi devs,

currently we can't have expression properties for map keys containing the
'[' character, even though it's a valid key character. My proposal is to
change our current string literal to a quoted one. So the expression
*map[myKey]* would no longer be valid in benefit of *map["myKey"]* or
*map['myKey']*. Any quote and escape character would need to be escaped,
and I suggest us to use the same escape logic from the Unified Expression
Language [1] and the original OGNL[2].

1 - http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html#bnahu
2 - http://commons.apache.org/proper/commons-ognl/language-guide.html

cheers

Pedro Santos

Reply via email to