"Ben Tilly" <ben_tilly / hotmail.com> writes: > Well everything in it is going to be fairly easy to translate > except the ability to loop over matches of an RE. Would String#scan do what you want (sorry, but I gave up reading through all the code on the page you referenced)? "the cat in the hat".scan(/.[aeiou]./) do |match| puts match end he cat in he hat http://www.rubycentral.com/ref/ref_c_string.html#scan Dave