24.
#2: #2: Never Split into Lines## Before input.each_line do |line| line.scan(/(.*?)(<%=?|%>)/).each do ... end end## After input.scan(/(.*?)(<%=?|%>)/m).each do ... end copyright(c) 2007 kuwata-lab.com all rights reserved.