From: Andrey Chaschev Date: 2008-04-20T07:37:16+09:00 Subject: Re: line breaks in multiline regexp Daniel Finnie wrote: > s = s.split(/\n{3}/) Yes, indeed this works! Thank you guys! 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. -- Posted via http://www.ruby-forum.com/.