I do like named captures (and in fact, prefer them) over trying to count brackets to figure out which match I actually want. $regml(a) (or $regmlex) sounds good enough to me (but probably conflicts with the name parameter in some way); %a isn't strictly necessary (and, as mentioned, is very likely a breaking change).