> By the way, I just fixed a little bug in unflatten which wouldn't let it
> work with other separators than '--'. I sent you a "pull request" via
> github. I'm telling you here because this is the first time I use this
> feature, and I'm not sure if the message arrived to you.
Yes, I got that message.
I was thinking of taking a regex or function as argument instead of
just a separator so that it can do handle keys like a[x][y].
something like this:
unflatten(data, splitter='(\w+)(?:[(\w)+])*')
unflatten(data, splitter=lamda key: key.split("--"))
Anand
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.