HI, I have a string like this {a[000] : 'b'}, I want to create a list from this which would be { a : [ [ ['b'] ] ] }, I am trying with regex: list_pattern = re.compile(r"\[([0-9]+?)\]") , not sure how to create the lists and put data into it.
you want it to be nested?