For Kate to be regent, the Regency Act of 1937 would have to be amended because she would not be the next person in the line of succession over 21. There is precedent, though. The Act was amended to make the DofE eligible to be regent during the minority of Charles. Otherwise the designated regent would have been Princess Margaret.