On Oct 28, 2005, at 8:25 PM, Ara.T.Howard wrote:

>> 1.  Does Ruby support \G?
>
> i dunno.  but isn't perl's m//g exactly equivalent to ruby's s.scan 
> (%r//) ?

\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.

> can you post the optimized re?

Yes.  I have to run out right now, but I will post it at some point  
this weekend...

James Edward Gray II