Fix a regular expression for command parsing

Because make to requiring a space between command and params.