Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Parse::RecDescent - Any Way to do a Negation?

by Masem (Monsignor)
on Mar 14, 2002 at 02:39 UTC ( #151581=note: print w/ replies, xml ) Need Help??

in reply to Parse::RecDescent - Any Way to do a Negation?

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.

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Comment on Re: Parse::RecDescent - Any Way to do a Negation?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://151581]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2015-11-29 05:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (747 votes), past polls