Basic command line REPL calculator
What happens if I enter only + surrounded by spaces?
The program should not abort if I enter 0 / 0, but continue with the next line.
I'd like to omit the spaces around the operator.
In the regular expression, the operator part can be written as [+\\-*/].