v-url ( str -- str )
Form validators

Prev:v-email ( str -- str )
Next:v-username ( str -- str )


Vocabulary
validators

Inputs
stra string


Outputs
stra string


Word description
Throws an error if the string is not a valid URL, as determined by a regular expression.

Definition

: v-url ( str -- str )
"URL" R/ (?:ftp|http|https):\/\/\S+/ v-regexp ;