From: Robert Dober Date: 2009-08-17T16:59:56+09:00 Subject: Re: Reading contents of a file and storing On Mon, Aug 10, 2009 at 9:20 PM, Joel VanderWerf wrote: > Joel VanderWerf wrote: >> >> Harry Kakueki wrote: >>> >>> h = Hash[*(shellwords(source.gsub("="," ")))] >> >> source.gsub(/^([^=]+)=/) {$1} > > sorry, should be: > > source.gsub(/^([^=]+)=/) {$1 + " "} > > -- >      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > > I was just wondering, should we not refuse to use ^ for the beginning of a string ( even knowing it is a line )? I personally have abandoned ^ for \A for quite some time now. Is nobody going to follow ;). Just my 0.03€ ( yeah inflation ) R. -- module Kernel alias_method :ë, :lambda end