std::regex_search - cppreference.com
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>
| Elemento definito nell'header <regex> |
||
|
|
(1) | (dal C++11) |
|
|
(2) | (dal C++11) |
|
|
(3) | (dal C++11) |
|
|
(4) | (dal C++11) |
|
|
(5) | (dal C++11) |
|
|
(6) | (dal C++11) |
1)
Determina se esiste una corrispondenza tra la e regolare espresso e qualche sottosuccessione nel [first,last) sequenza bersaglio di caratteri. I risultati delle partite vengono restituiti in m.
Original:
Determines if there is a match between the regular express e and some subsequence in the target character sequence [first,last). Match results are returned in m.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Std :: Resi regex_search (str, str + std :: <charT> char_traits :: lunghezza (str), m, e, bandiere).
Original:
Returns std::regex_search(str, str + std::char_traits<charT>::length(str), m, e, flags).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Std :: Resi regex_search (s.begin (), s.end (), m, e, bandiere).
Original:
Returns std::regex_search(s.begin(), s.end(), m, e, flags).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Lo stesso che (1), omettendo i risultati delle partite.
Original:
The same as (1), omitting 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.
5)
Restituisce std :: regex_search (str, str + std :: <charT> char_traits :: lunghezza (str), e, bandiere).
Original:
Returns std::regex_search(str, str + std::char_traits<charT>::length(str), e, flags).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
6)
Std :: Resi regex_search (s.begin (), s.end (), e, bandiere).
Original:
Returns std::regex_search(s.begin(), s.end(), e, flags).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parametri
| first, last | - | l'obiettivo intervallo di caratteri Original: the target character range The text has been machine-translated via Google Translate. |
| m | - | i risultati delle partite Original: the match results The text has been machine-translated via Google Translate. |
| str | - | un personaggio bersaglio con terminazione null di tipo C stringa Original: a target character null-terminated C-style string The text has been machine-translated via Google Translate. |
| s | - | un personaggio std :: basic_string bersaglio Original: a target character std::basic_string The text has been machine-translated via Google Translate. |
| e | - | std :: regex Original: the std::regex The text has been machine-translated via Google Translate. |
| flags | - | le bandiere delle partite Original: the match flags The text has been machine-translated via Google Translate. |
| Type requirements | ||
-BidirIt must meet the requirements of BidirectionalIterator.
| ||
-Alloc must meet the requirements of Allocator.
| ||
Valore di ritorno
Restituisce true se esiste una corrispondenza da qualche parte nella sequenza di destinazione, altrimenti false.
Original:
Returns true if a match exists somewhere in the target sequence, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.