Re:You can't parse XML with regex. Let's do it anyways
by thaumasiotes on Saturday October 04, 2025 @11:01PM
(#45478548)
Why regular expressions? Why not just substring matching?
[ Parent
| on HN ]
Re:You can't parse XML with regex. Let's do it anyways
by th0ma5 on Saturday October 04, 2025 @11:28PM
(#45478636)
This, much more deterministic!
Re:You can't parse XML with regex. Let's do it anyways
by bazoom42 on Sunday October 05, 2025 @04:19PM
(#45484871)
Not sure if you are joking, but regexes are deterministic.
Re:You can't parse XML with regex. Let's do it anyways
by th0ma5 on Sunday October 05, 2025 @04:58PM
(#45485199)
Oh, no I didn't mean to say regex or not, I meant regex over XML vs regex over a string. The first has the illusions everyone is bringing up that XML is not regular, but having clarity that it is ultimately a string is the correct set of assumptions.