code: function containsWithoutPseudos(selector, potentialMatch) {
    var classesInPotentialMatch = getCssClasses(potentialMatch).map(stripPseudos)
  
    return classesInPotentialMatch.some(function (c) {
      return selector === c
    })
  }
docs: If selecting for class .clearfix, .clearfix:after should also match