Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for answer to RegEx match open tags except XHTML self-contained tags by daghan

Current License: CC BY-SA 4.0

Post Revisions

14 events
when toggle format what by license comment
Jan 24, 2024 at 15:52 comment added daghan @AmineKOUIS that is exactly what the question asked: "But not self-closing tags:"
Jan 2, 2024 at 18:17 comment added Amine KOUIS Sorry, it doesn't match <br /> check this demo.
Oct 18, 2022 at 11:07 comment added Rohìt Jíndal This regex will not work if html tag will contains / in between. For example : <a href="example.com/test/example.html">
Oct 28, 2020 at 23:09 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://www.youtube.com/watch?v=1Dax90QyXgI&t=17m54s> <https://www.youtube.com/watch?v=1Dax90QyXgI&t=19m05s> ].
Jul 17, 2020 at 21:59 comment added Qwertie <a href="foo" title="5>3"> Oops </a> (quoting @Gareth - odd how people keep posting answers with this specific deficiency over and over. CDATA is kind of easy to overlook, but this is rather more basic)
Jun 20, 2020 at 9:12 history edited Community Bot
Commonmark migration
Mar 28, 2015 at 12:17 history edited Qantas 94 Heavy CC BY-SA 3.0
added 2 characters in body
Jun 10, 2013 at 11:24 history edited daghan CC BY-SA 3.0
deleted 1 characters in body
Feb 14, 2013 at 16:52 comment added null @alanaktion: The "modern" regular expressions (read: with Perl extensions) cannot match within O(MN) (M being regular expression length, N being text length). Backreferences are one of causes of that. The implementation in awk doesn't have backreferences and matches everything within O(MN) time.
Feb 2, 2013 at 15:45 comment added alanaktion @GlitchMr, that was his point. Modern regular expressions are not technically regular, nor is there any reason for them to be.
Sep 18, 2012 at 18:33 history edited John Saunders CC BY-SA 3.0
added 6 characters in body
Sep 7, 2012 at 17:24 history edited Peter Mortensen CC BY-SA 3.0
added 76 characters in body
S May 10, 2012 at 13:53 history answered daghan CC BY-SA 3.0
S May 10, 2012 at 13:53 history made wiki Post Made Community Wiki by daghan

AltStyle によって変換されたページ (->オリジナル) /