writing a url parser is not fun hey https://github.com/nodejs/node/blob/master/lib/url.js#L88-L346 …
-
-
Replying to @yoshuawuyts
@yoshuawuyts@javascriptd And that still (sometimes) doesn't parse to spec! https://github.com/jsdom/whatwg-url/blob/master/src/url-state-machine.js …1 reply 0 retweets 0 likes -
Replying to @sebmasterkde
@sebmasterkde that's a seriously long file@javascriptd1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
@yoshuawuyts It might be a bit more verbose than necessary since it follows the spec language exactly to be easy to follow.1 reply 0 retweets 0 likes
Replying to @sebmasterkde
@sebmasterkde hah, yeah fair. Wrote a smaller parser for my use case - needed something tiny for the browser https://github.com/yoshuawuyts/pathname-match/blob/master/index.js …
9:14 PM - 22 Jan 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.