lua-users home
lua-l archive

Re: dot encoded string key

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jun 7, 2012 at 7:51 PM, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:
> I made one as well once, and failed on numeric keys like this one;
Ah, but then you would need to extend the meaning of 'path' like so
'[1].two' (because '1.two' means t['1']['two'])
Hidden in here is the potential for a XPath-like generalized notation,
which could do simple conditional extraction.
steve d.

AltStyle によって変換されたページ (->オリジナル) /