Felix Windt wrote:
> > From: Sebastian Hungerecker [mailto:sepp2k / googlemail.com]
> > Hash[*File.read(filename).scan(/^.*=.*$/).flatten]
>
> I believe that should be:
>
> Hash[*File.read(filename).scan(/^(.*)=(.*)$/).flatten]

Yes, it should - sorry about that. Usually I test code before posting it.


-- 
NP: Porcupine Tree - Start Of Something Beautiful
Jabber: sepp2k / jabber.org
ICQ: 205544826