This question (1) is a duplicate of another question (2). The second question (2) was marked as a duplicate of another question (3).
The problem is that the second question (2) is not actually a duplicate of the third question (3), due to the nuance between checking the start of an HTML attribute and checking the start of a CSS class within an attribute. It's not much of a difference, which explains the closure of 2 as a dupe of 3.
How should this duplication be addressed? I could vote to reopen #2, and vote to close #1 as a duplicate of #2, or I could just leave both of them alone.