From catalog/rfc9110-http.abnf rule: absolute-path

Definition

absolute-path = 1*( "/" segment )

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
absolute-path
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, absolute-path
Used Builtins
ALPHA, DIGIT, HEXDIG

Alphabet

Translations

Railroad Diagram

absolute-path / segment

ECMAScript/JavaScript Regular Expression Literal

/^\/([!$&-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*$/

Swift Regular Expression

/([!$&-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*

POSIX Extended Regular Expression

/([!$&-;=@-Z_a-z~]|%[0-9A-Fa-f]{2})*