Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Elegant examples to parse parenthesised strings

by jettero (Monsignor)
on May 19, 2010 at 12:11 UTC ( #840679=note: print w/ replies, xml ) Need Help??


in reply to Elegant examples to parse parenthesised strings

I've never been that good at regular expressions.

There's a problem here. Traditionally, regular expressions can't match things that count (anbn). Perl RE have things that help with this (things that aren't really DFA-y); but you still probably want to look at things like Text::Balanced.

-Paul


Comment on Re: Elegant examples to parse parenthesised strings

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-07-29 03:59 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 (260 votes), past polls