From catalog/rfc9110-http.abnf rule: segment
Definition
segment = {File: rfc3986-uri.abnf Rule: segment}
{File: rfc3986-uri.abnf Rule: segment} = *{File: rfc3986-uri.abnf Rule: pchar}
{File: rfc3986-uri.abnf Rule: pchar} = {File: rfc3986-uri.abnf Rule: unreserved} / {File: rfc3986-uri.abnf Rule: pct-encoded} / {File: rfc3986-uri.abnf Rule: sub-delims} / ":" / "@"
{File: rfc3986-uri.abnf Rule: unreserved} = ALPHA / DIGIT / "-" / "." / "_" / "~"
{File: rfc3986-uri.abnf Rule: sub-delims} = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
{File: rfc3986-uri.abnf Rule: pct-encoded} = "%" HEXDIG HEXDIG
Info
- Rulename
- segment
- Dependencies
- HEXDIG, {File: rfc3986-uri.abnf Rule: pct-encoded}, {File: rfc3986-uri.abnf Rule: sub-delims}, ALPHA, DIGIT, {File: rfc3986-uri.abnf Rule: unreserved}, {File: rfc3986-uri.abnf Rule: pchar}, {File: rfc3986-uri.abnf Rule: segment}, segment
- Used Builtins
- ALPHA, DIGIT, HEXDIG
Alphabet
! $ &…. :…; = @ G…Z _ g…z ~%0…9 A…F a…f
Translations
Railroad Diagram
ECMAScript/JavaScript Regular Expression Literal
/^([!$&-.0-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*$/
Swift Regular Expression
([!$&-.0-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*
POSIX Extended Regular Expression
([!$&-.0-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*