We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package main import "github.com/asaskevich/govalidator" func main() { println(govalidator.IsURL("http://m.abcd.com/test.html")) println(govalidator.IsURL("http://abcd.com/test.html")) }
as in the example, http://m.abcd.com/test.html would be marked as invalid, http://abcd.com/test.html is valid.
http://m.abcd.com/test.html
http://abcd.com/test.html
any explanation? thanks.
The text was updated successfully, but these errors were encountered:
IsURL uses regexp that omits some valid urls, take a look at #150
Sorry, something went wrong.
fixed #150 #151
7b3beb6
Please, check added tests, hope issue fixed: 7b3beb6#diff-bf215ece4e5166da723b1e19a0d6b1cdR639
No branches or pull requests
as in the example,
http://m.abcd.com/test.html
would be marked as invalid,http://abcd.com/test.html
is valid.any explanation? thanks.
The text was updated successfully, but these errors were encountered: