Hi,

I'd like to be able to do this:

x = "a.b c.d"
x.gsub!(/(\w).(\w)/) {|i, j| <do something with the matched
subexpressions>}

Right now, Ruby only gives the entire matched string to the block.
-- 
_______________________________________________________________________
  Jonathan Aseltine     aseltine / cs.umass.edu     MAS, Umass, Amherst