Some time ago I found this code in a highly upvoted answer:
[class*="col-"] {
...
}
Aptana Studio gives me this error:
Syntax Error: unexpected token "*"
So, is it really an error? I mean I found it in an answer with so many upvotes.
I tried to convince myself to let go of the red marking in my project and I did fine for almost a week, but I couldn't help myself from asking... :)
No, it isn't an error. See the spec:
[att*=val]
Represents an element with the att attribute whose value contains at least one instance of the substring "val". If "val" is the empty string then the selector does not represent anything.