The tragedy of this SO question is that XHTML open tags are strictly regular and a regex will match them just fine http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags …
-
-
And here's the resulting regex which will actually match an XHTML open tag: https://gist.github.com/ferno/0e282c33e08df265bc5e …
-
It's not pretty but it's strictly regular which means it'll even run in linear time
- 8 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.