Comparison and regularity results for a nonlinear elliptic equation