<?xml version="1.0" encoding="windows-1252"?>
<node id="918189" title="Re^2: Parsing &quot;=&quot; separated output" created="2011-08-03 03:43:16" updated="2011-08-03 03:43:16">
<type id="11">
note</type>
<author id="918176">
blindluke</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;I've modified the regexp a bit, so that the concatenation is no longer necessary&lt;/p&gt;

&lt;code&gt;
while ( $string =~ m/\s+([^\s]+?)=(.*?)(?=\s[^\s]+=|$)/g )
&lt;/code&gt;

&lt;p&gt; Works quite well.&lt;/p&gt;

&lt;p&gt;Regards, &lt;br&gt; Luke &lt;/p&gt;</field>
<field name="root_node">
918178</field>
<field name="parent_node">
918183</field>
</data>
</node>
