Module aoc_parse::prelude

source ·

Re-exports

pub use crate::functions::line;
pub use crate::functions::lines;
pub use crate::functions::repeat_sep;
pub use crate::functions::string;

Constants

Matches any alphabetic or numeric character (see char::is_alphanumeric). Returns a char.
Matches any alphabetic character (see char::is_alphabetic). Returns a char.
Matches any Unicode character. Returns a char.
Matches any ASCII decimal digit '0'-'9' and converts it to its integer value 0-9.
Matches a binary digit '0' or '1', and converts it to its integer value 0 or 1.
Matches a hexadecimal digit '0'-'9', 'a'-'f', or 'A'-'F', and converts it to its integer value 0-15.
Matches any lowercase letter (see char::is_lowercase). Returns a char.
Matches any uppercase letter (see char::is_uppercase). Returns a char.

Traits

Trait implemented by all parsers.

Functions

Parse the given puzzle input supplied by #[aoc_generator].