JSV.FormatValidator.Default (jsv v0.5.0)

View Source

Default implementation of format validation.

Refer to the "Formats" section in the JSV documentation to know which formats are supported. This can depend on the current Elixir version and available optional libraries.

Summary

Functions

Returns the regular expression used to validate hostnames.

Functions

hostname_regex()

@spec hostname_regex() :: Regex.t()

Returns the regular expression used to validate hostnames.