isRegular improved