From: Robert Dober Date: 2007-04-11T16:53:26+09:00 Subject: Re: Slow ruby regexes oops wrong button here :( On 4/11/07, Robert Dober wrote: > On 4/10/07, MenTaLguY wrote: > > On Wed, 11 Apr 2007 03:56:28 +0900, "Robert Dober" wrote: > > > > > The bad news is that the power of regexs will just not let you escape > > > with bad design all the time, so knowing a lot about regexes is a > > > necessary thing to use them well. > > > > No, the bad news is that the bad design of most "regex" implementations will not let you escape with using "regexes" as if they were true regular expressions; knowing a lot about the implementation of the regex engine is a necessary thing to use them well. That might be, I am not qualified to discuss this issue. What I actually meant is that given the need for backtracking abilities it will just not be possible to "guess" what the user meant when he/she uses too general an expression and I am talking about NFA here. Well just wanted to clear that point up. > > > > > But you are right of course that Ruby's current Regex implementation > > > is not state of the art, useful, very useful nevertheless. > > > > > > > > > Cheers -- You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw