From: Rob Biedenharn Date: 2010-08-31T01:50:22+09:00 Subject: Re: Ruby v1.91 won't match literal plus sign On Aug 30, 2010, at 10:31 AM, Paul Taylor wrote: > text = "++" > puts "matched plus sign" if text.index(/\+\+/, 0) > > Prints nothing. Using Regex.quote produces the same behavior. > > A forum registration quiz, "puts (('11' * 2).to_i)/2" also prints > nothing but v1.86 prints 555. 1.9.1 and 1.9.2 both work fine. Perhaps you have a particular bug in the exact version you have. What does your `ruby -v` say? -Rob Rob Biedenharn Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/ rab@GaslightSoftware.com http://GaslightSoftware.com/