Remove the AFPRegexErrorHandler.

The error handler was pushing the exception throwing into the
set_error_handler callback which I don't think is a good idea. The
exception will be thrown anyway and the error will now be forwarded to
ES.