Use expect syntax in buffer_spec