On 06/10/2016 12:12 AM, Basile B. wrote:
On Wednesday, 5 October 2016 at 10:19:08 UTC, John C wrote:
What packages do people use when they want to parse URIs? I rolled my
own but it's incomplete and as it's a fairly common need there must be
one out there? In fact, I'm surprised there isn't one in Phobos yet.
It's not easy to make a true URI implementation, by "true" I mean
"conform" with https://tools.ietf.org/html/rfc3986.
But for the URL subset there's url.d: https://code.dlang.org/packages/urld.
Yeah the spec is quite nasty.
Luckily nobody uses Gopher anymore!
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus