<?xml version="1.0" encoding="windows-1252"?>
<node id="557683" title="Re^3: regex for regex?" created="2006-06-26 19:13:20" updated="2006-06-26 15:13:20">
<type id="11">
note</type>
<author id="461912">
GrandFather</author>
<data>
<field name="doctext">
&lt;p&gt;My understanding from the documentation for PPI is that is analyses Perl &lt;i&gt;Documents&lt;/i&gt; in isolation so I suspect there are simple cases where a regex may be provided by a module and used in the Perl Code being analysed that may not be recognised by PPI. However I don't have PPI available (it doesn't seem to be in ActiveState's ppm repositories) so I can't test that.&lt;/p&gt;
&lt;p&gt;Note that PPI doesn't claim to parse Perl Code, 'only' Perl Documents. I agree PPI very likely suffices for the OP's purpose, but it's not clear that PPI invalidates the mantra. :)&lt;/p&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-461912"&gt;
&lt;hr&gt;DWIM is Perl's answer to G&amp;ouml;del
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
557672</field>
<field name="parent_node">
557679</field>
</data>
</node>
