From: Carlos Date: 2007-02-13T23:53:20+09:00 Subject: Re: What's the best way of parsing this string? Robert Dober wrote: [...] > Well it might be necessary to use a non greedy match > > / > in order not to consume a potentially following key="..." pair. > > A more explicit and thus more readable way might be to write it like this - > avoiding any potential backtracking issues if the regexp evolves later too. > > / ... bla bla bla ... value="ha!"' puts $1 Greetings. --