Procedure for building a regular expression to match an XHTML open tag: https://gist.github.com/ferno/013a796b17314266b2b1 …
-
-
-
And here's the resulting regex which will actually match an XHTML open tag: https://gist.github.com/ferno/0e282c33e08df265bc5e …
- 9 more replies
New conversation -
-
-
@qntm "the unholy child weeps the blood" -- "Moderator's note: there are no problems with its content" lol SO moderators are garbage.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@qntm Amen! I matched stuff like this frequently. PHP also supports recursion using (?R) which handles nested tags. http://php.net/manual/en/regexp.reference.recursive.php …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.