Parse a bufspec from a string