Am 06.10.2012 12:12, schrieb Robert Klemme:
> On Sat, Oct 6, 2012 at 1:21 AM,  <sto.mar / web.de> wrote:
>
>> 1.9.3-p194 :001 > text = '"--- this is a string ---" = "--- this is a string
>> ---";'
>>   => "\"--- this is a string ---\" = \"--- this is a string ---\";"
>> 1.9.3-p194 :002 > text.scan(/"(.*?)" = "(.*?)"/).flatten
>>   => ["--- this is a string ---", "--- this is a string ---"]
>
> I'd rather use an approach which explicitly includes the "=" sign

???

It does.


-- 
<https://github.com/stomar/>