in reply to Increase number per regex replacement
Update: theorbtwo is right, its in perlop not perlre.