ValidUrl v0.1.0 ValidUrl

The base module of ValidUrl.

It exposes a single function, validate.

Summary

Functions

Test whether a string is a valid URL

Functions

validate(url)

Test whether a string is a valid URL.

Regular expression-based. Adapted from https://gist.github.com/dperini/729294.

Args:

  • url - The URL to validate, string

Returns a boolean.