Module nom::character::complete [−][src]
Character specific parsers and combinators, complete input version.
Functions recognizing specific characters.
Functions
alpha0 | Recognizes zero or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z |
alpha1 | Recognizes one or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z |
alphanumeric0 | Recognizes zero or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z |
alphanumeric1 | Recognizes one or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z |
anychar | Matches one byte as a character. Note that the input type will
accept a |
char | Recognizes one character. |
crlf | Recognizes the string “\r\n”. |
digit0 | Recognizes zero or more ASCII numerical characters: 0-9 |
digit1 | Recognizes one or more ASCII numerical characters: 0-9 |
hex_digit0 | Recognizes zero or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f |
hex_digit1 | Recognizes one or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f |
line_ending | Recognizes an end of line (both ‘\n’ and ‘\r\n’). |
multispace0 | Recognizes zero or more spaces, tabs, carriage returns and line feeds. |
multispace1 | Recognizes one or more spaces, tabs, carriage returns and line feeds. |
newline | Matches a newline character ‘\n’. |
none_of | Recognizes a character that is not in the provided characters. |
not_line_ending | Recognizes a string of any char except ‘\r’ or ‘\n’. |
oct_digit0 | Recognizes zero or more octal characters: 0-7 |
oct_digit1 | Recognizes one or more octal characters: 0-7 |
one_of | Recognizes one of the provided characters. |
space0 | Recognizes zero or more spaces and tabs. |
space1 | Recognizes one or more spaces and tabs. |
tab | Matches a tab character ‘\t’. |