News for hackers. Stuff that matters.
Re:Commits are snapshots not diffs (2020) by trulyme on Thursday April 08, 2021 @04:17PM (#26743224)
Whoa, why? That sounds like an awful advice to me. By all means, use regexes, but make sure you understand the theory behind them (state machines) so you will know not to parse HTML with them. They are really pretty easy to do right once you grasp the concepts.
Re:Commits are snapshots not diffs (2020) by breck on Thursday April 08, 2021 @06:34PM (#26744645)
You can write correct ad hoc regex parsers for many subsets of HTML depending upon your needs.