I think we will have to iterate the binary, character by character, verifying that everything before is a space, otherwise it will match on lines like `hello iex>`.