News for hackers. Stuff that matters.
Re:Stackoverflow, HTML by Regex, topmost answer by vog on Monday July 05, 2010 @09:50AM (#1488185)
That's what I'm wondering, too.

If it was XML, one might get in trouble with "<[CDATA[" sections, but regarding HTML, I don't see a real issue here.

... especially not from the pragmatic point of view. Depending on the use case and the quality of the HTML source, a "dirty" regex hack might be a far better solution and using a DOM parser.

There are no comments on this comment yet.