[][src]Module nom::character::complete

Character specific parsers and combinators, complete input version.

Functions recognizing specific characters.

Functions

alpha0

Recognizes zero or more lowercase and uppercase alphabetic characters.

alpha1

Recognizes one or more lowercase and uppercase alphabetic characters.

alphanumeric0

Recognizes zero or more numerical and alphabetic characters.

alphanumeric1

Recognizes one or more numerical and alphabetic characters.

anychar

Matches one byte as a character. Note that the input type will accept a str, but not a &[u8], unlike many other nom parsers.

char

Recognizes one character.

crlf

Recognizes the string "\r\n".

digit0

Recognizes zero or more numerical characters: 0-9

digit1

Recognizes one or more numerical characters: 0-9

hex_digit0

Recognizes zero or more hexadecimal numerical characters: 0-9, A-F, a-f

hex_digit1

Recognizes one or more 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'.