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

Definition

path-abempty = {File: rfc3986-uri.abnf Rule: path-abempty}

{File: rfc3986-uri.abnf Rule: path-abempty} = *( "/" {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
path-abempty
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}, {File: rfc3986-uri.abnf Rule: path-abempty}, path-abempty
Used Builtins
ALPHA, DIGIT, HEXDIG

Alphabet

Translations

Railroad Diagram

path-abempty {File: rfc3986-uri.abnf Rule: path-abempty}

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})*