ifmatch with reg-array length