Augmented BNF for Syntax SPECIFICATIONS:ABNF

Source: Internet
Author: User

Original: http://tools.ietf.org/html/rfc5234

Core Rules

Certain Basic rules are in uppercase, such as Sp,htab, CRLF, DIGIT,

ALPHA, etc.

 

ALPHA =%x41-5a/%x61-7a; A-Z/ A-Z

 

BIT = "0"/"1"

 

CHAR =%x01-7f

; any 7-bitus-ascii character,

                                ; Excluding NUL

 

 

 

CR =%x0d

; Carriagereturn

 

CRLF = CR LF

                                ; Internet Standardnewline

 

CTL =%x00-1f/%x7f

; Controls

 

DIGIT =%x30-39

; 0-9

 

dquote =%x22

                                ; "(Double Quote)

 

Hexdig = DIGIT/"A"/"B"/"C"/"D"/"E"/"F"

 

Htab =%x09

; Horizontaltab

 

LF =%x0a

; linefeed

 

lwsp = * (Wsp/crlf WSP)

                                ; Use of Thislinear-white-space rule

                                ; Permits lines containing

                                ; Space this are no longer legal in

                                ; Mail headers and have caused

                                ; Interoperability problems in the other

                                ; Contexts.

                                ; Do not usewhen defining mail

                                ; Headers with the caution in

                                ; Other contexts.

 

octet =%x00-ff

; 8 bits Ofdata

 

SP =%x20

 

Vchar =%x21-7e

; visible (printing) characters

 

WSP = Sp/htab

;

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.