[][src]Module sipmsg::common::bnfcore

Functions

is_alpha

Basic common rules from https://tools.ietf.org/html/rfc2234#section-6.1 and https://tools.ietf.org/html/rfc3261#section-25 that can be described by a limited number of characters ALPHA = %x41-5A / %x61-7A ; A-Z / a-z

is_alphanum
is_bit

BIT = "0" / "1"

is_char

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

is_cr

CR = %x0D Carriage return

is_crlf

CRLF = CR LF Internet standard newline

is_ctl

CTL = %x00-1F / %x7F

is_digit

DIGIT = %x30-39

is_dquote

DQUOTE = %x22

is_escaped
is_hexdig

HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" / "a" / "b" / "c" / "d" / "e" / "f"

is_htab

HTAB = %x09

is_lf

LF = %x0A

is_lhex
is_mark
is_octet

OCTET = %x00-FF 8 bits of data

is_password_char

password = *( unreserved / escaped / "&" / "=" / "+" / "$" / "," )

is_quoted_pair
is_reserved
is_separators

separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "" / DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HTAB

is_sp

SP = %x20

is_token_char
is_unreserved
is_user_unreserved_char

user-unreserved = "&" / "=" / "+" / "$" / "," / ";" / "?" / "/"

is_utf8_cont

UTF8-CONT = %x80-BF

is_vchar

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

is_word_char
is_wsp

WSP = SP / HTAB white space