[*class|="text"] will also matched textWarning, textInfo, textCenter, etc.
Represents an element with the att attribute, its value either being exactly "val" or beginning with "val" immediately followed by "-" (U+002D).
it should match text-foo or text but not textFoo