On the role of regularity in mathematical control theory