# Module nom::bytes::complete

source · [−]
Expand description

Parsers recognizing bytes streams, complete input version

## Functions

escaped

Matches a byte string with escaped characters.

escaped_transform

Matches a byte string with escaped characters.

is_a

Returns the longest slice of the matches the pattern.

is_not

Parse till certain characters are met.

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_till

Returns the longest input slice (if any) till a predicate is met.

take_till1

Returns the longest (at least 1) input slice till a predicate is met.

take_until

Returns the input slice up to the first occurrence of the pattern.

take_until1

Returns the non empty input slice up to the first occurrence of the pattern.

take_while

Returns the longest input slice (if any) that matches the predicate.

take_while1

Returns the longest (at least 1) input slice that matches the predicate.

take_while_m_n

Returns the longest (m <= len <= n) input slice that matches the predicate.