I tried the toggle between single and multline block with the following block:
domains.each do |d| f[1].sub!(/^#{d[0]}$/, d[1]) end
It converted it into a single line block just fine, but when I toggled it back to multiline I got this:
domains.each do |d| f[1].sub!(/^#{d[0] end$/, d[1]) }
Haven't yet examined the bundle regex but figured I'd post it in case someone wanted to know.
Thanks, Carl