Module ascii

Source
Expand description

ASCII character predicates.

Structs§

Alphabetic
Checks whether the given character is ASCII alphabetic.
AlphabeticError
Non-ASCII-alphabetic character encountered.
Alphanumeric
Checks whether the given character is ASCII alphanumeric.
AlphanumericError
Non-ASCII-alphanumeric character encountered.
Control
Checks whether the given character is ASCII control.
ControlError
Non-ASCII-control character encountered.
Digit
Checks whether the given character is a digit in the specified base B.
DigitError
Non-digit character encountered in the given base.
Graphic
Checks whether the given character is ASCII graphic.
GraphicError
Non-ASCII-graphic character encountered.
Lowercase
Checks whether the given character is ASCII lowercase.
LowercaseError
Non-ASCII-lowercase character encountered.
Punctuation
Checks whether the given character is ASCII punctuation.
PunctuationError
Non-ASCII-punctuation character encountered.
Uppercase
Checks whether the given character is ASCII uppercase.
UppercaseError
Non-ASCII-uppercase character encountered.
Whitespace
Checks whether the given character is ASCII whitespace.
WhitespaceError
Non-ASCII-whitespace character encountered.

Type Aliases§

Base
Represents integer base for checks.
HexDigit
Checks whether the given character is a hexadecimal digit.
OctDigit
Checks whether the given character is an octal digit.