Re:You can't parse XML with regex. Let's do it anyways
by quotemstr on Sunday October 05, 2025 @11:08AM
(#45482058)
Our discourse does a terrible job of distinguishing impossible things from things merely ill-advised, and I think intellectual honestly requires us to be up front about the difference.
Yeah, I'd almost certainly reject a code review using, say, Python's re module to extract stuff from XML, but while doing so, I would give every reason except "you can't do that".
Yeah, I'd almost certainly reject a code review using, say, Python's re module to extract stuff from XML, but while doing so, I would give every reason except "you can't do that".