Parse unary/binary operators regardless of number of spaces

closes #2534.
Merge pull request #2581 from mururu/parse-space

Parse unary/binary operators regardless of number of spaces