> [..] 
> But... but... neither of you guys's version gives the same result as
> Jonh's :-)
> 
> I think this does:
> 
> Hash[*str.scan(/([^,]+)=([^,]+)/).flatten]
> 
> 
> David
> 

or

Hash[*str.split(/=|,/)]

cheers

Simon