Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 about the Monastery: (7)
As of 2014-12-25 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls