Hi, Am Montag, 31. Aug 2009, 23:42:43 +0900 schrieb David A. Black: > On Mon, 31 Aug 2009, Bertram Scharpf wrote: >> >> int1, c1, int2 = *$~.captures > > It's a little less formidable without the *, which should be OK. A > mixed solution: > > int1, c1, int2 = $1, $2, $3 There's so much more nice things you can do. I cannot hold it back any more. h = {} ... h[ set] ||= [] h[ set].push int1.to_i..int2.to_i And so on. Isn't it sweet? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de