Removed unnecessary backtracking in REPL command parsing making errors
harder to understand
Fixed wrong handling of whitespace between commands and arguments
Merge pull request #1424 from ahmadsalim/improvement/replcommandsbacktracking

Fixes backtracking in parser of REPL command