From: Robert Klemme Date: 2013-02-01T16:53:19+09:00 Subject: Re: How backtracking works in Ruby? On Thu, Jan 31, 2013 at 8:05 PM, Arup Rakshit wrote: > Eric Christopherson wrote in post #1094478: >> On Fri, Jan 18, 2013 at 10:01 AM, Arup Rakshit >> wrote: >>> (b) Why we need it?(means how regex with backtracking differs from a >>> it's core,but my bad i am not getting the answers of all my above >>> questions from here to have the concept. > > > Can anyone help me to understand the concept with some codes? Code > examples always give us good visualization. Look into the regexp engines implementation. You won't easily see how the regexp engine works internally by only using it. Better yet, get a copy of "Mastering Regular Expressions" and digest it. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/