Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Return value from positive look behind

by choroba (Archbishop)
on Nov 11, 2020 at 17:17 UTC ( #11123596=note: print w/replies, xml ) Need Help??


in reply to Re^2: Return value from positive look behind
in thread Return value from positive look behind

That's because of the /g, it remembers where the match happend last time and tries to match again after it.

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
Node Status?
node history
Node Type: note [id://11123596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2021-01-22 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?