Namespaces
Variants
Views
Actions

Talk:cpp/regex/regex match

From cppreference.com

[edit] problem with wording of regex_match

"1) Determines if there is a match between the regular expression e and the entire target character sequence [first,last), taking into account the effect of flags. When determining if there is a match, only potential matches that match the entire character sequence are considered. Match results are returned in m."

a little clearer wording and more explicit please. this makes it sound as if it's matching the entire string only when it is not. it could be a partial match. the only case of a full match is either the entire string or enclosing with ^$ which is not the normative case.

for instance, what variable is "target"? --50.188.152.148 05:38, 9 November 2016 (PST)

it is matching the entire string, I think the description is pretty explicit. Expanded on "target" though. --Cubbi (talk) 06:30, 9 November 2016 (PST)

[edit] Simplify the notations

What about simplifying the notations about types and template parameters in this page, it is too noisy to be efficiently read? I would prefer to omit or rename some namespaces "std::", "std::regex_constants::" and some template parameters "typename std::basic_string<CharT,STraits,SAlloc>::const_iterator" --Barsan-md (talk) 08:50, 31 January 2019 (PST)