[][src]Module gchemol_parser::parsers::streaming

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

digit0

Recognizes zero or more ASCII numerical characters: 0-9

digit1

Recognizes one or more ASCII numerical characters: 0-9

double

Recognizes floating point number in a byte string and returns a f64

is_a

Returns the longest slice of the matches the pattern

is_not

Parse till certain characters are met

multispace0

Recognizes zero or more spaces, tabs, carriage returns and line feeds.

multispace1

Recognizes one or more spaces, tabs, carriage returns and line feeds.

one_of

Recognizes one of the provided characters.

space0

Recognizes zero or more spaces and tabs.

space1

Recognizes one or more spaces and tabs.

tag

Recognizes a pattern

tag_no_case

Recognizes a case insensitive pattern

take

Returns an input slice containing the first N input elements (Input[..N])

take_until

Returns the longest input slice till it matches the pattern.