Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
more useful options
 
PerlMonks  

nested regex

by chunlou (Curate)
on Aug 14, 2003 at 15:24 UTC ( #283909=obfuscated: print w/ replies, xml ) Need Help??

$l=qr/\(([^()]|(??{$l})(?{print$1}))*\)/;'(c(r(e(p(u)s)c)l)e)'=~/\w$l\w/g;print$`|$1

Comment on nested regex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-04-20 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls