P-regularity