Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Maximal match in a recursive regex

by diotalevi (Canon)
on Jun 26, 2003 at 17:06 UTC ( #269318=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $re = qr/
        \[ # Opening bracket
        ((?: # Capture the contents 
    ...
        )+) # and allow repeats internally
        \] # Closing bracket
        /x;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://269318]
help
Chatterbox?
and the shadows deepen...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-12-09 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (154 votes). Check out past polls.