3 ms·
You can't really argue with a mathematical theorem.
by avmich 6y ago
You can't really argue with a mathematical theorem.
- rblatz 6y agoThey aren’t asking to parse all valid xml. They wanted to parse a small known subset. Regex can be an excellent tool in that situation.
- dragonwriter 6y ago> They aren’t asking to parse all valid xml. They wanted to parse a small known subset. Regex can be an excellent tool in that situation. Rarely better than using an existing general XML parser and then validating the additional constraints, especially in terms of implementation and maintenance cost.
- goto11 5y agoThe question is not about parsing, it is about tokenization.
- goto11 5y agoBut you can argue against someone misunderstanding what a theorem says and applying it in the wrong context. The question is about tokenization, not parsing.