fork download
  1. p $stdin.read.split(/^(?=\.\.)/)
Success #stdin #stdout 0s 4760KB
stdin
.title1
hoge
fuga
..title2
hoge2
fuga2
..title3
hoge3
fuga3
stdout
[".title1\nhoge\nfuga\n", "..title2\nhoge2\nfuga2\n", "..title3\nhoge3\nfuga3"]