Updated regexp to support new error format.
Merge pull request #9 from fred-o/master

Updated regexp to support new error format.