Darryl Ross wrote:
> Hey All,
>
> I have a string that looks like this:
>
> {key1,val1},{key2,val2},{key3,val3},{key4,val4},{key5,val5},...
>
> I'm trying to write a regular expression which can split up that string
> and give me a hash back. There are a few gotchas though:
>
> - The key a
Hey All,
I have a string that looks like this:
{key1,val1},{key2,val2},{key3,val3},{key4,val4},{key5,val5},...
I'm trying to write a regular expression which can split up that string
and give me a hash back. There are a few gotchas though:
- The key and/or the value may or may not be inside