Roland Mainz wrote:
> 
>> Please note the double-quotes in the former output, which might help
>> your script determine whether you're looking at a single string value
>> (possibly with spaces) or at multiple values.
> 
> Well, it doesn't give me a hint whether the value is an array or not..
> ;-(
> ... what happens if a value_node contains characters like '"'
> (double-quote), '\'' (single-quote), '$' or <newline> etc. ?

Double-quotes will be escaped using backslash (backslashes should also
be escaped). Agreed, parsing this is not completely trivial, but that's
probably your only chance.

I suggest that you go ahead and experiment to see what the behavior is
w.r.t. other "special" characters.

T.

Reply via email to