Updated regexp to support new error format.

Hi! The error message format seems to have changed slightly; this fixes it.