tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Glossaries     Architecture     IMS     UICC    |    search

ABNF grammars

|   SIP   |   SIP URIs   |   SIP Headers   |   SIP Private Headers   |   SDP   |
|   HTTP   |   Generic URI   |   IRI   |   IMF   |   MSRP   |   RTSP   |   ABNF Notation   |

Augmented Backus-Naur Form (ABNF) Notation and Rules
RFC 5234

 

Here          Top          None          None          Next
(1 of 3)

|   Core rules   |   Operators   |   Definition   |


OCTET   =
%x00-FF
;  8 bits of data
Up

CHAR   =
%x01-7F
;  any 7-bit US-ASCII character,
;  excluding NUL

Up

VCHAR   =
%x21-7E
;  visible (printing) characters
Up

ALPHA   =
%x41‑5A   /   %x61‑7A
;  A‑Z  /  a‑z
Up

DIGIT   =
%x30‑39
;  0-9
Up

CTL   =
%x00‑1F   /   %x7F
;  any US-ASCII control character:
;  (octets 0 - 31) and DEL (127)

Up

HTAB   =
%x09
;  horizontal tab
Up

LF   =
%x0A
;  linefeed
Up

CR   =
%x0D
;  carriage return
Up

SP   =
%x20
;  space
Up

DQUOTE   =
%x22
;  " (Double Quote)
Up

BIT   =
"0"  /  "1"
Up

HEXDIG   =
DIGIT   /   "A"   /   "B"   /   "C"   /   "D"   /   "E"   /   "F"
;  Note: according to the 'char-val' rule,
;  letters (A-F) are case insensitive

Up

CRLF   =
CR   LF
;  Internet standard newline
Up

WSP   =
SP  /  HTAB
;  white space
Up

LWSP   =
*( WSP  /  CRLF   WSP )
;  linear white space (past newline)
Up