Be a bit more lax in finding the end of the command we're looking for.