Module character
Character specific parsers and combinators
Functions recognizing specific characters
Modules
Structs
- AnyChar Parser implementation for char
- Char Parser implementation for [char()]
- Digit1 Parser implementation for [digit1]
- MultiSpace0 Parser implementation for [multispace0()]
- Satisfy Parser implementation for [satisfy]
Functions
-
anychar
accept a
str, but not a&[u8], unlike many other nom parsers. - char Recognizes one character.
- digit1 Recognizes one or more ASCII numerical characters: 0-9
- is_bin_digit Tests if byte is ASCII binary digit: 0-1
- multispace0 Recognizes zero or more spaces, tabs, carriage returns and line feeds.
-
none_of
Example
- one_of Recognizes one of the provided characters.
- satisfy Recognizes one character and checks that it satisfies a predicate