923
you are viewing a single comment's thread
view the rest of the comments
[-] panda_abyss@lemmy.ca 1 points 2 months ago

Yeah a mix of regex and heuristics to validate before parsing

It was a long time ago now

It also had to parse ipv4 because they can be embedded (IIRC) and the different octet formats

this post was submitted on 01 Aug 2025
923 points (96.7% liked)

Programmer Humor

26827 readers
2769 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS