• panda_abyss@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 days 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