4 ms·
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 k
by trulyme 6y ago
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.
- breck 6y agoYou can write correct ad hoc regex parsers for many subsets of HTML depending upon your needs.