cpp/experimental/search

Searches the sequence $[first, last)$ for the pattern specified in the constructor of.

need not be.

The standard library provides the following searchers:

Return value
Returns the result of, that is, an iterator to the location at which the substring is found or a copy of if it was not found.

Complexity
Depends on the searcher