From catalog/rfc9110-http.abnf rule: quoted-string
Definition
quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
qdtext = HTAB / SP / %x21 / %x23-5b / %x5d-7e / obs-text
obs-text = %x80-ff
Info
- Rulename
- quoted-string
- Dependencies
- DQUOTE, HTAB, SP, obs-text, qdtext, VCHAR, quoted-pair, quoted-string
- Used Builtins
- DQUOTE, HTAB, SP, VCHAR
Alphabet
␉ ␠…! #…[ ]…~ U+80…U+FF"\
Translations
Railroad Diagram
ECMAScript/JavaScript Regular Expression Literal
/^"([\u{9} -!#-\[\]-~\u{80}-\u{FF}]|\\[\u{9} -~\u{80}-\u{FF}])*"$/
Swift Regular Expression
"([\u{9} -!#-\[\]-~\u{80}-\u{FF}]|\\[\u{9} -~\u{80}-\u{FF}])*"
POSIX Extended Regular Expression
"([\u{9} -!#-\[\]-~\u{80}-\u{FF}]|\\[\u{9} -~\u{80}-\u{FF}])*"