From: sto.mar@... Date: 2012-10-06T19:25:21+09:00 Subject: Re: Regular Expression Help Am 06.10.2012 12:12, schrieb Robert Klemme: > On Sat, Oct 6, 2012 at 1:21 AM, 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. --