From: Bill Kelly Date: 2001-11-20T04:22:54+09:00 Subject: [ruby-talk:25855] ANN: regex engine development (was: Re: Why not xmlparser?) From: "Sean Russell" > [...] > You'll notice that Ruby doesn't use the Perl regexp code, > or the GNU regexp library. Isn't this the GNU version? http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/ruby/regex.c?rev=1.54&content-type=text/x-cvsweb-markup There are a few #if RUBY's in there but not that many. There is also an 800+ and a 1200+ line function, with switch statements inside of switch statements inside of switch statements. :-) statements. ...Plus a healthy sprinkling of goto I am trying my hand at rewriting it, although still in straight 'C'. What got me interested in undertaking the rewrite is: - I'd love to see the (?{ruby code}), (??{postponed regexp}), (?(condition)...), (?<=pattern) and (?