Better warning parsing