Tech-
invite
3GPP
specs
Glossaries
IETF
RFCs
Groups
SIP
ABNFs
T
i
+
Search
SIP
SIP URIs
SIP Headers
SIP P‑Headers
SDP
HTTP
Generic URI
IRI
IMF
RTSP
ABNF Notation
ABNF for IMF – Internet Message Format –
RFC 5322
Message Format
Fields
Address
Date‑Time
Lexical Tokens
IMF — Lexical Tokens
RFC 5322 – Section 3.2
–
Section 4.1
–
Section 4.2
IMF — Quoted characters
RFC 5322 – Section 3.2.1
–
Section 4.1
quoted-pair
=
( "
\
" (
VCHAR
/
WSP
) ) /
obs‑qp
obs-qp
=
"
\
" ( %d0 /
obs‑NO‑WS‑CTL
/
LF
/
CR
)
IMF — Folding White Space and Comments
RFC 5322 – Section 3.2.2
–
Section 4.1
–
Section 4.2
Errata ID: 1908
FWS
=
( [ *
WSP
CRLF
] 1*
WSP
) /
obs‑FWS
; Folding White Space
ctext
=
%d33‑39 / %d42‑91 / %d93‑126 /
obs-ctext
; Printable US-ASCII characters not including "(", ")", or "\"
ccontent
=
ctext
/
quoted‑pair
/
comment
comment
=
"
(
" *( [
FWS
]
ccontent
) [
FWS
] "
)
"
CFWS
=
( 1*( [
FWS
]
comment
) [
FWS
] ) /
FWS
obs‑FWS
=
1*( [
CRLF
]
WSP
)
; Errata ID: 1908
obs‑ctext
=
obs‑NO‑WS‑CTL
obs‑NO‑WS‑CTL
=
%d1‑8 /
%d11 /
%d12 /
%d14‑31 /
%d127
; US-ASCII control characters that do not include the carriage return, line feed, and white space characters
IMF — Atom
RFC 5322 – Section 3.2.3
atext
=
ALPHA
/
DIGIT
/
"
!
" / "
#
" /
"
$
" / "
%
" /
"
&
" / "
'
" /
"
*
" / "
+
" /
"
-
" / "
/
" /
"
=
" / "
?
" /
"
^
" / "
_
" /
"
`
" / "
{
" /
"
|
" / "
}
" /
"
~
"
; Printable US-ASCII characters not including specials. Used for atoms
atom
=
[
CFWS
] 1*
atext
[
CFWS
]
dot-atom-text
=
1*
atext
*( "
.
" 1*
atext
)
dot-atom
=
[
CFWS
]
dot-atom-text
[
CFWS
]
specials
=
"
(
" / "
)
" /
"
<
" / "
>
" /
"
[
" / "
]
" /
"
:
" / "
;
" /
"
@
" / "
\
" /
"
,
" / "
.
" /
DQUOTE
; Special characters that do not appear in atext
IMF — Quoted Strings
RFC 5322 – Section 3.2.4
–
Section 4.1
qtext
=
%d33 /
; Printable US-ASCII
%d35-91 /
; characters not including
%d93-126 /
; "\" or the quote character
obs-qtext
qcontent
=
qtext
/
quoted‑pair
quoted-string
=
[
CFWS
]
DQUOTE
*( [
FWS
]
qcontent
) [
FWS
]
DQUOTE
[
CFWS
]
obs-qtext
=
obs-NO-WS-CTL
IMF — Miscellaneous Tokens
RFC 5322 – Section 3.2.5
–
Section 4.1
Errata ID: 1905
word
=
atom
/
quoted‑string
phrase
=
1*
word
/
obs-phrase
unstructured
=
( *( [
FWS
]
VCHAR
) *
WSP
) /
obs-unstruct
obs-utext
=
%d0 /
obs-NO-WS-CTL
/
VCHAR
obs-phrase
=
word
*(
word
/ "
.
" /
CFWS
)
obs-phrase-list
=
[
phrase
/
CFWS
] *( "
,
" [
phrase
/
CFWS
] )
obs-unstruct
=
*( ( *
CR
1*(
obs-utext
/
FWS
) ) / 1*
LF
) *
CR
; Errata ID: 1905