Regular Functions on Certain Infinite-dimensional Groups