ex_abnf v0.2.8 ABNF.Core
Core rules found in the Apendix B of the ABNF RFC.
Copyright 2015 Marcelo Gornstein <marcelog@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Summary
Functions
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
BIT = “0” / “1”
CHAR = %x01-7F ; any 7-bit US-ASCII character, excluding NUL
CR = %x0D ; carriage return
CTL = %x00-1F / %x7F ; controls
DIGIT = %x30-39; 0-9
DQUOTE = %x22 ; “ (Double Quote)
HEXDIG = DIGIT / “A” / “B” / “C” / “D” / “E” / “F”
HTAB = %x09 ; horizontal tab
LF = %x0A ; linefeed
OCTET = %x00-FF ; 8 bits of data
SP = %x20
VCHAR = %x21-7E ; visible (printing) characters
WSP = SP / HTAB ; white space
Functions
Specs
char?(char) :: boolean
CHAR = %x01-7F ; any 7-bit US-ASCII character, excluding NUL