Updated regex to match all outputted errors.