From: "Thomas, Mark - BLS CTR" Date: 2006-08-18T02:34:16+09:00 Subject: Re: ruby equiv of perl pos tony summerfelt wrote: > i noticed that all the ruby solutions presented were longer than the > original perl code. i found the perl code more readable... which is > unusual for most perl-ruby comparisons :) Well, I wouldn't consider it unusual for the code to be longer when you are trying to duplicate the functionality of a keyword of another language that doesn't exist in Ruby! Perhaps if String#scan made MatchData objects available as requested here: http://www.rcrchive.net/rcr/show/276 the Ruby solution would be cleaner. - Mark.