Documentation ¶
Overview ¶
Package rfc5234 implements an RFC 5234 parser which provides basic productions used by the RFC 5322 parser.
Index ¶
- func MatchAlpha(cs []byte) (*rd.Match, []byte)
- func MatchCR(cs []byte) (*rd.Match, []byte)
- func MatchCRLF(cs []byte) (*rd.Match, []byte)
- func MatchDQuote(cs []byte) (*rd.Match, []byte)
- func MatchDigit(cs []byte) (*rd.Match, []byte)
- func MatchHTab(cs []byte) (*rd.Match, []byte)
- func MatchLF(cs []byte) (*rd.Match, []byte)
- func MatchSP(cs []byte) (*rd.Match, []byte)
- func MatchVChar(cs []byte) (*rd.Match, []byte)
- func MatchWSP(cs []byte) (*rd.Match, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchAlpha ¶
MatchAlpha matches a single ASCII alphabetical character.
// ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
func MatchCRLF ¶
MatchCRLF matches a network new line: a carriage return followed by a line feed.
// CRLF = CR LF // ; Internet standard newline
func MatchDQuote ¶
MatchDQuote matches a single double quote.
// DQUOTE = %x22 // ; " (Double Quote)
func MatchVChar ¶
MatchVChar matches a single visible ASCII character.
// VCHAR = %x21-7E // ; visible (printing) characters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.