Commit 602b3ea8 authored by Fred Drake's avatar Fred Drake

- tighten up the regular expression for hostnames

- convert hostnames to lower case
parent e6cc9508
......@@ -646,7 +646,8 @@ The following datatypes are provided by the default type registry.
Validates a valid IP address or hostname. If the first
character is a digit, the value is assumed to be an IP
address. If the first character is not a digit, the value
is assumed to be a hostname. No conversion is performed.
is assumed to be a hostname. Hostnames are converted to lower
case.
\term{\datatype{key-value}}
Parse a value in the form \code{'A B'} into the list \code{['A',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment