regularity in math examples