From: Simon Strandgaard Date: 2004-04-27T21:22:14+09:00 Subject: [ann] regexp engine 0.9 download: http://rubyforge.org/frs/?group_id=18&release_id=422 play with regexp online: http://neoneye.dk/regexp.rbx RAA entry: http://raa.ruby-lang.org/list.rhtml?name=regexp About ===== Here is an Regexp engine written entirely in Ruby. It allows you to search in text with advanced search patterns. It supports Perl5 syntax... plus some perl6 syntax (more to come in the future). Its fairly compatible with Ruby's native regexp engine (GNU), and when running against the Rubicon testsuite, it passes 96.666% out of 1560 total tests. The implementation is simple, yet without any optimizations. Therefore speed is slow.. At some point when optimizations are in place, I plan to do a re-implementation in C++. Because of the simplicity, the code should be easy to grasp and extend with your own custom code. Changes since 0.8 ================= major refactoring of allocation/deallocation scheme for mementoes, so that Context now acts as a caretaker. This has paved the way for fixing bug in lookahead inside repeat. The MatchData extracted the subcaptures wrong, because it used string[range], where the range was 0..-1, so that the whole string got extracted. Now it uses #slice which solved the problem. Gained 0.66% more, so it now passes 96.66%. Version 0.8 only passed 96.025 % of the rubicon tests (1560). Question ======== Who on this list has interest in the Ruby-in-Ruby project ? -- Simon Strandgaard