Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Augmented Backus–Naur form
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Core rules=== [[File:ABNF core rules.png|thumb|alt=ABNF syntax diagram of core rules|ABNF [[syntax diagram]] of core rules]] The core rules are defined in the ABNF standard. {|class="wikitable" |- style="background-color: #efefef;" !Rule!!Formal definition!!Meaning |- |ALPHA || {{codett|%x41–5A / %x61–7A |abnf}} ||Upper- and lower-case ASCII letters (A–Z, a–z) |- |DIGIT || {{codett|%x30–39 |abnf}} ||Decimal digits (0–9) |- |HEXDIG || {{codett|DIGIT / "A" / "B" / "C" / "D" / "E" / "F" |abnf}} ||Hexadecimal digits (0–9, A–F, a–f) |- |DQUOTE || {{codett|%x22 |abnf}} ||Double quote |- |SP || {{codett|%x20 |abnf}} ||Space |- |HTAB || {{codett|%x09 |abnf}} ||Horizontal tab |- |WSP || {{codett|SP / HTAB |abnf}} ||Space and horizontal tab |- |LWSP || {{codett|*(WSP / CRLF WSP) |abnf}} ||Linear white space (past newline) |- |VCHAR || {{codett|%x21–7E |abnf}} ||Visible (printing) characters |- |CHAR || {{codett|%x01–7F |abnf}} ||Any ASCII character, excluding NUL |- |OCTET || {{codett|%x00–FF |abnf}} ||8 bits of data |- |CTL || {{codett|%x00–1F / %x7F |abnf}} ||Controls |- |CR || {{codett|%x0D |abnf}} ||Carriage return |- |LF || {{codett|%x0A |abnf}} ||Linefeed |- |CRLF || {{codett|CR LF |abnf}} ||Internet-standard newline |- |BIT || {{codett|"0" / "1" |abnf}} ||Binary digit |- |} Note that in the core rules diagram the '''CHAR2''' charset is inlined in '''char-val''' and '''CHAR3''' is inlined in '''prose-val''' in the RFC spec. They are named here for clarity in the main syntax diagram.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)