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]