I suppose someone could have done
[class^="btn-"], [class*=" btn-"]
which would have equally thrown you off, but I do agree that encouraging this is unfortunate.