我有以下结构:
Down: This should be down 1
Up: This should be up 1
Down: This should be down 2
Up: This should be up 2
Down: This should be down 3
Up: This should be up 3
Down: This should be down 4
Up: This should be up 4
Down: This should be down 5
Up: This should be up 5
那里有 5 个块,每个块由一个空行分隔。
我想单独翻转每个块的顺序,同时保持块的顺序。
我使用的示例应如下所示:
Up: This should be up 1
Down: This should be down 1
Up: This should be up 2
Down: This should be down 2
Up: This should be up 3
Down: This should be down 3
Up: This should be up 4
Down: This should be down 4
Up: This should be up 5
Down: This should be down 5