Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on You Cannot Parse HTML with Regular Expressions. Parent comment
What "REs can't parse HTML" means in theory is that you cannot design a regexp that tells HTML apart from non-HTML.
The fundamental reason is that regexps cannot detect arbitrarily-deep nested structures.
In practice it is possible, because most regexp engines are Turing complete, but it would be crazy to do so.
There are no comments on this comment yet.
What "REs can't parse HTML" means in theory is that you cannot design a regexp that tells HTML apart from non-HTML.
The fundamental reason is that regexps cannot detect arbitrarily-deep nested structures.
In practice it is possible, because most regexp engines are Turing complete, but it would be crazy to do so.