Does Perl’s `(?PARNO)` discard its own named captures when it’s done?
After playing around with this, I’m satisfied that what I said in the question is right. Each call to (?PARNO) gets a complete and separate set of the match variables that it discards at the end of its run. You can get all the things that matched in each sub pattern by using an array … Read more