Problem replacing $data[abc] with $data['abc'] using gsub

Yeah, I was wrong about all characters being consumed. That's how the
*greedy* quantifier would have worked (it wouldn't make sense at all for
the non-greedy one).

···

--
Posted via http://www.ruby-forum.com/.