From: SonOfLilit Date: 2007-04-11T02:59:29+09:00 Subject: Re: Slow ruby regexes Read wikipedia on Regex. It explains better than I can why one is used over the other (more power). For example, a regex was shown in this list lately that tells you if a number is prime. That needs backtracking. Aur On 4/10/07, Emmanuel wrote: > Hello i've been reading this article, wich has a few benchmarks > (inclding a ruby related one) and many theorical explanations of regex > matching algorithms: > > http://swtch.com/~rsc/regexp/regexp1.html > > I became a little worried since i'm making hevy use of regexes in a > program of mine that shortly i'll have to run on each of thousands of > text files. > > * Do anyone now if what is said relates to ruby 1.8.6 > * If so, is it going to change ? > > Thank you! > > -- > Posted via http://www.ruby-forum.com/. > >