3 ms·
You're right. :x It was a while since I looked at the original question. It would be interesting to hear what he's actually trying to do. Looking closely at t
by jordanb 17y ago
You're right. :x
It was a while since I looked at the original question.
It would be interesting to hear what he's actually trying to do. Looking closely at the question, he wants all open tags, but not ones that are self-closing.
My guess is that he is trying to find HTML elements that have content. That should, of course, be done with a parser. But you're right that he could be doing something completely tangential to the structure.