Robert Dober wrote:
> ...wonder how this would scale if there were a Regexp#match allowing for an offset.


...which will come in Ruby 1.9:

C:\Dokumente und Einstellungen\wolfgang>irb19
irb(main):001:0> "abcdef".match(/./,3)
=> #<MatchData "d">

Wolfgang NĂ¡dasi-Donner
-- 
Posted via http://www.ruby-forum.com/.