News for hackers. Stuff that matters.
Re:ZA̡͊͠͝LGΌ causes "Invalid MD5 checksum on messages" by rblatz on Saturday May 08, 2021 @07:09PM (#27091644)
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.
Re:ZA̡͊͠͝LGΌ causes "Invalid MD5 checksum on messages" by dragonwriter on Saturday May 08, 2021 @07:14PM (#27091667)
> 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.

Re:ZA̡͊͠͝LGΌ causes "Invalid MD5 checksum on messages" by goto11 on Sunday May 09, 2021 @05:15AM (#27094472)
The question is not about parsing, it is about tokenization.