yeah I don't use $regsubex because I'm using 6.16 which also doesn't support /var... or unset %var %var
I really should update, but I guess this is the best I can do with 6.16 :|