We present an extension of the E-function method adapted to handle the regularization of Dirac operator determinants when Weyl fermions are present. The method we propose makes use of an auxiliary operator which takes into account regularization ambiguities in anomalous gauge theories. As an application, we consider a two-dimensional model where these ambiguities allow for the definition of a consistent quantum theory.