Fix swift output parse regexp

 - Bug #1248651
 - fix parse output with new swift havana release
 - fix optional whitespace at the end of the line
spec for new swift version