boost::capy::match_delim

Match condition that searches for a delimiter string.

Synopsis

struct match_delim;

Description

Satisfies MatchCondition. Returns the position after the delimiter when found, or npos otherwise. Provides an overlap hint of delim.size() ‐ 1 to handle delimiters spanning reads.

Member Functions

Name

Description

operator()

Search for the delimiter in data.

Data Members

Name

Description

delim

The delimiter string to search for.

See Also

MatchCondition, read_until

Created with MrDocs