Parse unary/binary operators regardless of number of spaces

closes #2534.