Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Confused by RegEx count

by choroba (Cardinal)
on Feb 22, 2024 at 10:09 UTC ( [id://11157835]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Confused by RegEx count
in thread Confused by RegEx count

Yes, I'm getting similar results in 5.39.6, but in 5.26.1, the substitution is faster.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found