Fix reg list parsing.