Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Perl Parsing Power

by protist (Monk)
on Sep 24, 2012 at 11:16 UTC ( #995359=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl Parsing Power
in thread Perl Parsing Power

Unless I am mistaken, your oneliner will fail if given

}}}{{{

as input. It will report a false positive. It is also not RDP, although you know this ;).

While I will not claim that regex RDP is pretty (complex parsing rarely is), it is possible, and Programming Perl discusses it in some minimal detail.


Comment on Re^4: Perl Parsing Power
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-06-30 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (801 votes), past polls