В общем, есть строка вида [ a b c [ d [ e f ] ] g ] (например), где а, б, ц, ... могут быть любыми, в т.ч. и служебными. Вложенность произвольная. Нужно получить массив ['a', 'b', 'c', ['d', ['e', 'f']], 'g'].

Ответ на:
комментарий
от special-k

Ответ на:
комментарий
от special-k


Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от cdshines

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от cdshines

Ответ на:
комментарий
от cdshines

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от special-k

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от special-k

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от special-k

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от Deleted

Ответ на:
комментарий
от Deleted


Ответ на:
комментарий
от cdshines

Ответ на:
комментарий
от anonymous

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Массив строк (2001)
- Форум gcc + массив строк... (2004)
- Форум ruby: файл в массив строк (2010)
- Форум Чтение из строки в массив (Ruby, Perl, Python) (2004)
- Форум Ruby, двумерный массив (2009)
- Форум [java] Массив в строку (2010)
- Форум Вставка строки в массив С++ (2006)
- Форум ruby: очистить текст от тегов (2010)
- Форум Bash вложенный массив (2019)
- Форум Javascript вытащить свойста объекта (со вложенными объектами) в массив (2016)