On Wednesday 18 August 2004 16:55, Austin Ziegler wrote: > There's a simple solution, and I'll probably open an RCR about this > if others agree with it. String#scan, #sub, and #gsub should yield > MatchData objects, not Strings. [snip] Agree.. this would be nice.. I think I have seen an RCR about it long time ago (but I cannot locate that RCR). btw: my ruby regexp engine does so.. it yields matchdata instead of string. http://raa.ruby-lang.org/project/regexp/ -- Simon Strandgaard