Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2016-12-05 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (84 votes). Check out past polls.