Expand description
Character specific parsers and combinators
Functions recognizing specific characters
Structs§
- Mark a value as case-insensitive for ASCII 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:
'a'..='z'
,'A'..='Z'
,'0'..='9'
- Recognizes one or more ASCII numerical and alphabetic characters:
'a'..='z'
,'A'..='Z'
,'0'..='9'
- Recognizes the string
"\r\n"
. - Decode a decimal signed integer (e.g.
i32
) - Decode a decimal unsigned integer (e.g.
u32
) - Recognizes zero or more ASCII numerical characters:
'0'..='9'
- Recognizes one or more ASCII numerical characters:
'0'..='9'
- escaped
Deprecated Deprecated, replaced withtake_escaped
- Parse escaped characters, unescaping them
- 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 (e.g.
u32
) - 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 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'
. - Recognize the input slice with escaped characters.
- Recognizes a string of any char except
"\r\n"
or"\n"
.