will parse a number in text form to a number
will parse a number in text form to a number
Succeeds if all the input has been consumed by its child parser.
Recognizes one or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z
Tests a list of parsers one by one until one succeeds.
Recognizes one character.
Matches an object from the first parser and discards it,
then gets an object from the second parser,
and finally matches an object from the third parser and discards it.
Recognizes floating point number in text format and returns a f64.
returns its input if it is at the end of input data
Recognizes floating point number in text format and returns a f32.
Tests if byte is ASCII alphanumeric: A-Z, a-z, 0-9
Tests if byte is ASCII space or tab
Recognizes an end of line (both ‘\n’ and ‘\r\n’).
Creates an error from the input position and an
ErrorKindRepeats the embedded parser, gathering the results in a Vec
.
Maps a function on the result of a parser.
Applies a parser over the result of another one.
Applies a function returning a Result
over the result of a parser.
Recognizes zero or more spaces, tabs, carriage returns and line feeds.
Recognizes one or more spaces, tabs, carriage returns and line feeds.
Gets an object from the first parser,
then gets another object from the second parser.
Tries to apply its parser without consuming the input.
Matches an object from the first parser and discards it,
then gets an object from the second parser.
If the child parser was successful, return the consumed input as produced value.
Recognizes floating point number in a byte string and returns the corresponding slice.
Alternates between two parsers to produce a list of elements.
Alternates between two parsers to produce a list of elements until
Err::Error
.
Gets an object from the first parser,
then matches an object from the sep_parser and discards it,
then gets another object from the second parser.
Recognizes zero or more spaces and tabs.
Recognizes one or more spaces and tabs.
Recognizes a pattern
Recognizes a case insensitive pattern.
Returns an input slice containing the first N input elements (Input[..N]).
Returns the longest input slice (if any) till a predicate is met.
Returns the longest (at least 1) input slice till a predicate is met.
Returns the input slice up to the first occurrence of the pattern.
Returns the non empty input slice up to the first occurrence of the pattern.
Returns the longest input slice (if any) that matches the predicate.
Returns the longest (at least 1) input slice that matches the predicate.
Gets an object from the first parser,
then matches an object from the second parser and discards it.
Applies a tuple of parsers one by one and returns their results as a tuple.
There is a maximum of 21 parsers
Returns the provided value if the child parser succeeds.