<?xml version="1.0" encoding="windows-1252"?>
<node id="45668" title="How do I match this without lookbehind?" created="2000-12-08 00:48:39" updated="2005-08-15 10:43:18">
<type id="1857">
categorized question</type>
<author id="11732">
QandAEditors</author>
<data>
<field name="doctext">
Suppose I have a string that matches &lt;CODE&gt;/^(\~?.)*$/&lt;/CODE&gt;
and I want to &lt;CODE&gt;split&lt;/CODE&gt; it into each atomic piece
that would be matched by &lt;CODE&gt;(\~?.)&lt;/CODE&gt;.  How would I
code such a regular expression for &lt;CODE&gt;split&lt;/CODE&gt;?  I'd
like to use lookbehind, crafting an expression that says,
"Split after every non-tilde character", but my O'Reilly
Regular Expression book says that perl doesn't support
lookbehind.  Any suggestions?
&lt;BR&gt;&lt;BR&gt;
-Ted</field>
<field name="parent_node">
1835</field>
</data>
</node>
