Axial anomaly through analytic regularization