Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use updated dperini's url regex #153
dperini updated the gist
major change is that
Can you show a case where the existing validate.js code doesn't work?
Both queries and fragments work: https://github.com/ansman/validate.js/blob/master/specs/validators/url-spec.js#L73
Oh wait, I realized that's not all.
Hostname match is now
It would be wise to update the entire regex in order to get all the fixes