<?xml version="1.0" encoding="windows-1252"?>
<node id="929457" title="Re: ${^MATCH} regex special variable(s) and /p regex modifier" created="2011-10-04 03:03:18" updated="2011-10-04 03:03:18">
<type id="11">
note</type>
<author id="699288">
JavaFan</author>
<data>
<field name="doctext">
That's because you are using parenthesis. Using parens mays you're paying "the penalty" (for that match) anyway. So, you get ${^PREMATCH}, ${^MATCH}, and ${^POSTMATCH} for "free". 
&lt;p&gt;
Try running your match without parens, and see the difference.</field>
<field name="root_node">
929430</field>
<field name="parent_node">
929430</field>
</data>
</node>
