rebase -i: match whole word in is_command()