On Tue, Jun 15, 2010 at 7:19 AM, Jennifer Lee <jmasonlee / gmail.com> wrote: > I have code: > > <% @terms.each do |term| %>> > > %regex = Regexp.new(/#{term}/)%> > %matchdata = regex.match(@def_str)%> > %if matchdata%> > > % ¨ÂäåÀäåæ®óðìéô¨¯£ûôåòíý¯¥¾ > % ¨Âäåæ®óè鿥¾ > > %end%> > <%end%> Hi, > % ¨Âäåæ®óè鿥¾ This line is run only and doesn't output value. So change this line to: <%= @def.shift %> to solve this problem. Thanks. -- Sora Harakami - @sora_h Blog: http://codnote.net/ Detail: http://sorah.cosmio.net/