Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: bracket processing

by haukex (Archbishop)
on Mar 31, 2020 at 07:25 UTC ( [id://11114833]=note: print w/replies, xml ) Need Help??


in reply to Re^2: bracket processing (updated)
in thread bracket processing

I can only generate the given output when I add the -keep switch to the RE_balanced() call.

What version are you using? From Regexp::Common::balanced:

Since version 2013030901, $1 will always be set (to the entire matched substring), regardless whether {-keep} is used or not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found