Hi,

I am new to ruby but have an okay background in perl.  I am trying to parse
a string into an array.

string = (foo:0.05,bar:0.115);

I would like the array to look like this:

Array[0] = (
Array[1] = foo
Array[2] = 0.05
Array[3] = ,
Array[4] = bar
Array[5] = 0.115
Array[6] = )
Array[7] = ;

I have a rather clunky perl script for this, but in learning ruby I thought
I might see if there is an elegant way to parse this string using tokens.
Thank you for any help you might have.

-M