Interpret spaces in input pattern string liberally

The format specifier passed to parser will now treat all single spaces as
'\s+'.

Change-Id: I68705f6f8ff7e5834ca0990ffbe2d87d6c4876d5