Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 musing on the Monastery: (5)
As of 2015-07-30 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls