News for hackers. Stuff that matters.
Re:Is there a regular expression to detect a valid regular e... by kortex on Sunday September 08, 2019 @11:10AM (#20910991)
The question title implies he's parsing XHTML text.

> XHTML is an XML-based HTML. It serves the same function as HTML, but with the same rules as XML documents.

https://stackoverflow.com/q/1429065

Re:Is there a regular expression to detect a valid regular e... by ChrisSD on Sunday September 08, 2019 @01:03PM (#20911719)
The question title is ambiguous but the question tags include both HTML and XHTML. Self-closing `<element />` is an XML-ism which in HTML is treated the same as `<element>` but it was still fashionable to use them in HTML when XHTML was at its height.