Fixed line regex to correctly jump to different errors