HomeManualTopicsTypesSymbols

std::search

search from the grammar object from the start or end of the specified string

Parameters

object
the grammar object
string
the string to search
nth
search for the nth occurrence of the grammar object

Results

pos
the position of the match measured from the start of the string
len
the number of matched characters

Description

Negative values of nth search from the end of the string.

Topics

Grammar Objects

Strings

See also

std::match match the grammar object with the start of the specified string
std::match_back match the grammar object with the end of the specified string

Implemented by

std_types::character searches for the character from the start or the end of a string
std_types::set searches for one of the alternatives from the start or the end of a string
std_types::string searches for the start of the string within the stream