News for hackers. Stuff that matters.
Re:You can't parse [X]HTML with regex (2009) by IgorPartola on Friday March 05, 2021 @09:21AM (#26357136)
What time is it isn’t an invalid question. “How do I make my hamster grow wings and fly?” is. How to parse HTML with a RegEx is an in-between. For a specialized case, why not? Answer that question, then provide a counter example to show how it will be very fragile, then explain the theory, then show a better way. IME that tends to work better to teach someone what you think they should know.

There are no comments on this comment yet.