| octet |
= |
<any 8-bit sequence of
data> |
| hextet |
= |
<any 16-bit sequence of
data> |
| char |
= |
<any US-ASCII character
(octets 0 - 127)>; see ANSI X3.4-1986 |
| upalpha |
= |
"A" | "B"
| "C" | "D" | "E" | "F"
| "G" | "H" | "I" | "J"
| "K" | "L" | "M" | "N"
| "O" | "P" | "Q" | "R"
| "S" | "T" | "U" | "V"
| "W" | "X" | "Y" | "Z" |
| lowalpha |
= |
"a" | "b"
| "c" | "d" | "e" | "f"
| "g" | "h" | "i" | "j"
| "k" | "l" | "m" | "n"
| "o" | "p" | "q" | "r"
| "s" | "t" | "u" | "v"
| "w" | "x" | "y" | "z" |
| alpha |
= |
lowalpha | upalpha; also called
"letter" |
| digit |
= |
"0" | "1"
| "2" | "3" | "4" | "5"
| "6" | "7" | "8" | "9";
also called "number" |
| alphanum |
= |
alpha | digit; also called
"letnum" |
| plus |
= |
0x2b |
| hyphen |
= |
0x2d; also called "dash" |
| dot |
= |
0x2e |
| underscore |
= |
0x5F |
| ldh |
= |
alpha | digit | hyphen; also
(abuse of notation) called "dns-char" |
| id-prefix |
= |
alphanum |
| ldh-label |
= |
[61* ldh id-prefix] |
| label |
= |
id-prefix ldh-label |
| sldn |
= |
label dot label |
| hostname |
= |
*(label dot) sldn |
| ipv4-addr |
= |
1*3DIGIT "." 1*3DIGIT
"." 1*3DIGIT "." 1*3DIGIT |
| ipv6-addr |
= |
hexpart [ ":" IPv4address
] |
| hexpart |
= |
hexseq | hexseq "::"
[ hexseq ] | "::" [ hexseq ] |
| hexseq |
= |
hex4 *( ":" hex4) |
| hex4 |
= |
1*4HEXDIG |
| e164a-addr |
= |
plus 1*3 digit dot 1*12 digit |