|
|
|
|
|
by gue5t
3957 days ago
|
|
I think you are technically correct, but your proof contains a non-sequitur: limiting tag-nesting depth doesn't limit the size of a string accepted as HTML, because the textual contents of any tag (or an attribute, or sequenced rather than /nested/ tags) may be of unlimited length. |
|
But this is a technicality and it should in no way indicate that a regex for HTML would be a good idea.