ValidUrl v0.1.2 ValidUrl View Source

The base module of ValidUrl.

It exposes a single function, validate.

Link to this section Summary

Functions

Test whether a string is a valid URL

Link to this section Functions

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.