<?xml version="1.0" encoding="windows-1252"?>
<node id="151581" title="Re: Parse::RecDescent - Any Way to do a Negation?" created="2002-03-13 21:39:59" updated="2005-07-19 14:08:11">
<type id="11">
note</type>
<author id="53423">
Masem</author>
<data>
<field name="doctext">
Take a look at the 'reject' keyword.  I've not used it myself, but the docs suggest that you can use it to have both successful and unsuccessful matches work.  However, 
as a precaution, because P:RD is inching left-to-right, to get the exact action you need may be impossible.
&lt;P&gt;
-----------------------------------------------------
&lt;BR&gt;
&lt;I&gt;
&lt;A HREF="http://mneylon.masemware.com/"&gt;Dr. Michael K. Neylon&lt;/A&gt; - &lt;a href="mailto:mneylon-pm@masemware.com"&gt;mneylon-pm@masemware.com&lt;/a&gt;
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
&lt;BR&gt;
&lt;FONT COLOR="#800000"&gt;&lt;I&gt;"I can see my house from here!"&lt;/I&gt;&lt;/FONT&gt;
&lt;BR&gt;
&lt;FONT COLOR="#808080"&gt;&lt;I&gt;It's not what you know, but knowing how to find it if you don't know that's important&lt;/I&gt;&lt;/FONT&gt;
&lt;/I&gt;</field>
<field name="root_node">
151578</field>
<field name="parent_node">
151578</field>
</data>
</node>
