[quote=“vitaLee”]i kinda get what you mean but i think it wont work because as i understand, for this to work rubydo’s open pattern should be a subexpression of it’s predecessor’s open pattern.
but do will always be preceeded by more than just whitespace and not anchored to bol.
not sure if i got it right, but can you try to match this do-end with your solution
[pre=#212121]3.times do |i|
puts ‘hip hip!!!’
end[/pre][/quote]
Oh, I see that is tricky. Let me think about that some more.