Rfc5234

object Rfc5234
Parsers for the common rules of RFC5234. These rules are
referenced by several RFCs.
class Object
trait Matchable
class Any

Value members

Fields

val alpha: Parser[Char]
A-Z and a-z, without diacritics
val bit: Parser[Char]
0 or 1
val char: Parser[Char]
any 7-bit US-ASCII character, excluding NUL
val cr: Parser[Unit]
carriage return
val lf: Parser[Unit]
linefeed
val crlf: Parser[Unit]
Internet standard newline
val ctl: Parser[Char]
controls
val digit: Parser[Char]
0 to 9
val dquote: Parser[Unit]
double quote (")
val hexdig: Parser[Char]
hexadecimal digit, case insensitive
val htab: Parser[Unit]
horizontal tab
val sp: Parser[Unit]
space
val wsp: Parser[Unit]
white space (space or horizontal tab)
val lwsp: Parser0[Unit]
linear white space.
Use of this rule permits lines containing only white space that
are no longer legal in mail headers and have caused
interoperability problems in other contexts.
Do not use when defining mail headers and use with caution in
other contexts.
val octet: Parser[Char]
8 bits of data
val vchar: Parser[Char]
visible (printing) characters