Uri class and parser

Mike van Dongen dlang at mikevandongen.nl
Tue Oct 23 13:47:23 PDT 2012


Hi all!

I've been working on an URI parser which takes a string and then 
separates the parts and puts them in the correct properties.
If a valid URI was provided, the (static) parser will return an 
instance of Uri.

I've commented all relevant lines of code and tested it using 
unittests.

Now what I'm wondering is if it meets the phobos requirements and 
standards.
And of course if you think I should do a pull request on GitHub!

My code can be found here, at the bottom of the already existing 
file uri.d:
https://github.com/MikevanDongen/phobos/blob/uri-parser/std/uri.d


Thanks,

Mike van Dongen.


More information about the Digitalmars-d mailing list