<?xml version="1.0" encoding="windows-1252"?>
<node id="557290" title="Re: regex incorrectly matching newline" created="2006-06-23 14:50:46" updated="2006-06-23 10:50:46">
<type id="11">
note</type>
<author id="491819">
ioannis</author>
<data>
<field name="doctext">
The regex is not matching the "\n", it succeeds by matching the 'h'
of "&lt;b&gt;h&lt;/b&gt;ello\nthere". Furthermore, even if you make the \n  as
the first character of $i, by setting &lt;i&gt;$i = "\nthere"&lt;/i&gt;, the
regex will continue to succeed because it will matches the 't'.</field>
<field name="root_node">
557282</field>
<field name="parent_node">
557282</field>
</data>
</node>
