std::regex_search
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Déclaré dans l'en-tête <regex> | ||
template<class BidirIt, class Alloc, class CharT, class Traits > | (1) | (depuis C++11) |
template<class Alloc, class CharT, class Traits > bool regex_search(const CharT* str, | (2) | (depuis C++11) |
template<class STraits, class SAlloc, class Alloc, class CharT, class Traits > | (3) | (depuis C++11) |
template<class BidirIt, class CharT, class Traits > | (4) | (depuis C++11) |
template<class CharT, class Traits > bool regex_search(const CharT* str, | (5) | (depuis C++11) |
template<class STraits, class SAlloc, class CharT, class Traits > | (6) | (depuis C++11) |
e
express régulier et une sous-séquence dans la séquence cible [first,last)
caractère. Les résultats des matchs sont retournés dans m
.e
and some subsequence in the target character sequence [first,last)
. Match results are returned in m
.You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier]Paramètres
first, last | - | la plage de caractères cible Original: the target character range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
m | - | les résultats des matchs Original: the match results The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
str | - | un caractère objectif zéro terminal C de type chaîne de caractères Original: a target character null-terminated C-style string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
s | - | un std :: basic_string caractères cible Original: a target character std::basic_string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
e | - | le std :: regex Original: the std::regex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
flags | - | les drapeaux du match Original: the match flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Type requirements | ||
-BidirIt must meet the requirements of BidirectionalIterator . | ||
-Alloc must meet the requirements of Allocator . |
[modifier]Retourne la valeur
You can help to correct and verify the translation. Click here for instructions.