A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../../cpp/regex/match_results/prefix.html below:

std::match_results<BidirIt,Alloc>::prefix - cppreference.com

const_reference prefix() const;

(since C++11)

Obtains a reference to the std::sub_match object representing the target sequence between the start of the beginning of the target sequence and the start of the entire match of the regular expression.

ready() must be true. Otherwise, the behavior is undefined.

[edit] Return value

Reference to the unmatched prefix.

[edit] Example [edit] See also returns sub-sequence between the end of the full match and the end of the target sequence
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4