From: Austin Ziegler Date: 2002-12-14T11:53:20+09:00 Subject: Re: [RCR] Global Regexp Match Mechanism (//g) Okay; since 90% of what we need is present, why not add a new method to Regexp, #gmatch(str, pos = nil, flags = nil). Adding pos to #match seems a poor fit because of the flags argument already present. Also, if a MatchData is passed as str, it should implicitly call MatchData#end for pos unless pos is non-nil. IMO, being explicit about doing a //g-type match is a Good Thing. Thoughts? -a -- austin ziegler Sent from my Treo