Ah good catch, I hadn't even noticed that custom identifier there (it would help if the OP mentioned it...). Looks like it could be something like
alias _regsub var %a | !.echo -q $regsub($1,$2,$3,%a) | return %a
Adding this alias still doesn't alter the results in any way: 6.16 is just a tiny bit faster.