std::basic_regex
Da cppreference.com
                    
                                        
                    
                    
                                                            
                    | 
   | 
  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.  | 
|   Defined in header <regex>
   | 
||
|   template <     class CharT = char,  | 
(a partir do C++ 11) | |
O 
basic_regex modelo de classe fornece um quadro geral para a realização de expressões regulares. Original:
The class template 
basic_regex provides a general framework for holding regular expressions. The text has been machine-translated via Google Translate.
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.
Várias especializações para tipos de caracteres comuns são fornecidos:
Original:
Several specializations for common character types are provided:
The text has been machine-translated via Google Translate.
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.
|   Defined in header  
<regex>  | |
|    Tipo  
Original:  Type  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
Definition | 
  regex
 | 
basic_regex<char> | 
  wregex
 | 
basic_regex<wchar_t> | 
[editar] Tipos de membro
|    Tipo de membro  
Original:  Member type  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
Definition | 
  value_type
 | 
CharT | 
  traits_type
 | 
Traits | 
  string_type
 | 
Traits::string_type | 
  locale_type
 | 
Traits::locale_type | 
  flag_type
 | 
std::regex_constants::syntax_option_type | 
[editar] Funções de membro
|   constructs the regex object  (função pública membro)  | |
|     destrói o objeto regex  Original:  destructs the regex object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
|     atribui o conteúdo  Original:  assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
|     atribui o conteúdo  Original:  assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
   
Original:  Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | |
|     retorna o número de sub-expressões marcante dentro da expressão regular   Original:  returns the number of marked sub-expressions within the regular expression  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
|    returns the syntax flags   (função pública membro)  | |
   
Original:  Locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | |
|     obter informações de localidade  Original:  get locale information The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
|     definir informações de localidade  Original:  set locale information The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
   
Original:  Modifiers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | |
|     Trocar o conteúdo   Original:  swaps the contents  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro)  | |
  
Original:  Constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | |
|    Valor  
Original:  Value  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
Effect(s) | 
| icase |     ignora caso quando a correspondência de caracteres  
Original:   ignores case when matching characters  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| nosubs |     não armazena sub-expressão partidas  
Original:   does not store sub-expression matches  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| optimize |     mais rápido correspondente construção, mais lento  
Original:   faster matching, slower construction  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| collate |     faz expressões alcance sensíveis à localidade  
Original:   makes range expressions locale-sensitive  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| ECMAScript |     usa um ECMA-262 (Perl 5) sintaxe  
Original:   uses an ECMA-262 (Perl 5) syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| basic |    usa um POSIX básica sintaxe de expressão regular  
Original:  uses a POSIX basic regular expression syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| extended |    utiliza uma sintaxe POSIX expressão regular extendida  
Original:  uses a POSIX extended regular expression syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| awk |    utiliza um' awk sintaxe compatível  
Original:  uses an awk-compatible syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| grep |     utiliza um' grep sintaxe compatível  
Original:   uses a grep-compatible syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
| egrep |     utiliza um grep' estendido compatível sintaxe  
Original:   uses an extended grep-compatible syntax  The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.  | 
[editar] Não-membros funções
|    (C++11)  | 
    o algoritmo especializado std::swap  Original:  specializes the std::swap algorithm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (modelo de função)  |