On Oct 28, 2005, at 8:43 PM, Ara.T.Howard wrote: > On Sat, 29 Oct 2005, James Edward Gray II wrote: > >> \G is a boundary assertion that matches only where the last match >> left off. It's used in Perl's while loop style expressions, where >> each iteration yields the next match. >> > > yeah i know.. but this seems completely equivalent, though it might > perhaps > also need anchoring.... > > buf.scan(%r/ ^ ... /) do |cell| > > end Only if \G is the first character in the expression. ;) I believe Ruby supports \G, by the way. James Edward Gray II