Module chomp::ascii [] [src]

Utilities and parsers for dealing with ASCII data in u8 format.

Functions

decimal

Parses a series of digits and converts them to an integer.

digit

Parses a single digit.

is_alpha

ASCII alphabetic predicate.

is_alphanumeric

ASCII alphanumeric predicate.

is_digit

ASCII digit predicate.

is_end_of_line

A predicate matching eithr a newline ('\n') or a carriage return ('\r').

is_horizontal_space

A predicate which matches either space (' ') or horizontal tab ('\t').

is_lowercase

Lowercase ASCII predicate.

is_uppercase

Uppercase ASCII character predicate.

is_whitespace

ASCII whitespace predicate.

signed

Parses a number with an optional leading '+' or '-'.

skip_whitespace

Skips over whitespace.