Andrey Chaschev wrote: > Daniel Finnie wrote: >> s = s.split(/\n{3}/) > > The problem was with my JRuby. It understands "\n" neither in a search > string nor in a regexp. It is probably a bug. I will give you an > example if it is interesting, when I am at work. Sorry, this indeed works fine. Don't know what was the problem. Thank you! -- Posted via http://www.ruby-forum.com/.