Hi,
I wanted to share my thought on this flashcard related to using RegEx to parse HTML and see what you think about it. While I can kind of agree with accepted answer in referenced StackOverflow question in that hardcore HTML parsing is probably not a proper task for pure RegEx I still believe you could retrieve only opening HTML tags names with something as simple as <([a-z]+).*(?<!\/)>
(which utilizes “Negative lookbehind” matcher), see demo: regex101: build, test, and debug regex
I may be missing something so please kindly let me know if this is the case.
Thanks,
Sergey
P.S. Thank you amazing flashcards! I love them. And I learned at minimum a few tricks from every deck already, including RegEx deck (didn’t know about non-greedy matchers and word boundaries).