extract_swift_flags: fix the tables parsing

The code for parsing existing tables didn't find all the options because
of spaces and new lines. This patch should now handle those characters.

Change-Id: If6a5d8812e6e6f46e14944578cc5eb94d8374ccf