<?xml version="1.0" encoding="windows-1252"?>
<node id="1005034" title="Re: Regexp help" created="2012-11-21 20:02:45" updated="2012-11-21 20:02:45">
<type id="11">
note</type>
<author id="971084">
frozenwithjoy</author>
<data>
<field name="doctext">
Why not use [doc://split]?

&lt;c&gt;
$ perl -E '$string = "0.740234|0.758789|0.748047|0.749023|0.748047|0.754883|0.743164|0.748047|0.780273|0.739258|0.765625|0.761719|0.760742|||||0.75293|0.742188";

say $_ for (split /\|/, $string);
'
0.740234
0.758789
0.748047
0.749023
0.748047
0.754883
0.743164
0.748047
0.780273
0.739258
0.765625
0.761719
0.760742




0.75293
0.742188
&lt;/c&gt;

&lt;p&gt;NOTE: Keep in mind that when matching &lt;c&gt;|&lt;/c&gt; in split (or another regex situation), you need to escape it: &lt;c&gt;\|&lt;/c&gt;</field>
<field name="root_node">
1005032</field>
<field name="parent_node">
1005032</field>
</data>
</node>
