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
On 1/2/2006, at 20:14, Carl Youngblood wrote:
I tried the toggle between single and multline block with the following block: [...] Haven't yet examined the bundle regex but figured I'd post it in case someone wanted to know.
Thanks, I've been wanting to improve the macro so that toggling works from anywhere within the lines of the construct, if/when I do, I'll fix this problem as well.