From: Joel VanderWerf Date: 2009-08-18T01:57:12+09:00 Subject: Re: Reading contents of a file and storing Robert Dober wrote: > On Mon, Aug 10, 2009 at 9:20 PM, Joel VanderWerf wrote: >> source.gsub(/^([^=]+)=/) {$1 + " "} > > 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 ;). Didn't the OP want each line converted? It's getting hard to remember... Anyway, I did mean ^ in my answer, but maybe I was confused about the question. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407