On 1/10/21 2:55 PM, Oğuz wrote:

If I don't know the key beforehand, like if I read it from a file or the like, this becomes a security issue. That is my concern, `assoc_expand_once' doesn't help in that situation.

If you're taking input that you haven't verified and putting it into an
expansion context, I recommend you reconsider.

You can also use the key-value pair assignment syntax, which doesn't
require scanning for a close brace.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to