3 ms·
> It’s quite literally parsing xml using regular expressions. It’s an excellent case study for why you shouldn’t do that. It's like a textbook example no? Don'
by LtWorf 2y ago
> It’s quite literally parsing xml using regular expressions. It’s an excellent case study for why you shouldn’t do that.
It's like a textbook example no? Don't parse non-regular languages with regular expressions.
- wavemode 2y agoI would go further: don't parse with regular expressions. At all. They should be used for search (does this text contain something I'm looking for) not parsing (creating a syntax tree from unstructured input).