Follow

Modfying an XML document using a streaming XML parser & formatter:
30 lines of code, 150ms.

A bunch of regexes:
6 lines, 5ms.

@ayo
- does the document allow arbitrary nesting?
- is the document controllable by attacker?

@ayo Almost any computing problem can be reduced to regex, given enough frustration. 😜

Sign in to participate in the conversation
lonely.town

A lonely little town in the wider world of the fediverse.