Expand description
Character specific parsers and combinators
Functions recognizing specific characters
Traits
- Metadata for parsing hex numbers, see
hex_uint
- Metadata for parsing signed integers, see
dec_int
- Metadata for parsing unsigned integers, see
dec_uint
Functions
- Recognizes zero or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z
- Recognizes one or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z
- Recognizes zero or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z
- Recognizes one or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z
- Recognizes the string “\r\n”.
- Decode a decimal signed integer
- Decode a decimal unsigned integer
- Recognizes zero or more ASCII numerical characters: 0-9
- Recognizes one or more ASCII numerical characters: 0-9
- Matches a byte string with escaped characters.
- Matches a byte string with escaped characters.
- Recognizes floating point number in text format and returns a f32 or f64.
- Recognizes zero or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f
- Recognizes one or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f
- Decode a variable-width hexadecimal integer.
- Recognizes an end of line (both ‘\n’ and ‘\r\n’).
- Recognizes zero or more spaces, tabs, carriage returns and line feeds.
- Recognizes one or more spaces, tabs, carriage returns and line feeds.
- Matches a newline character ‘\n’.
- Recognizes a string of any char except ‘\r\n’ or ‘\n’.
- Recognizes zero or more octal characters: 0-7
- Recognizes one or more octal characters: 0-7
- Recognizes zero or more spaces and tabs.
- Recognizes one or more spaces and tabs.
- Matches a tab character ‘\t’.