in reply to better way to get last named capture group
%- and %+ are the only var that contains capture names.