Espaços nominais
Variantes
Acções

std::basic_regex constants

Da cppreference.com
< cpp‎ | regex‎ | basic regex

 
 
Biblioteca de expressões regulares
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Algoritmos
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exceções
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Características
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
 
std::basic_regex
Funções de membro
Original:
Member Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::basic_regex
basic_regex::~basic_regex
basic_regex::operator=
basic_regex::assign
Observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::mark_count
basic_regex::flags
Localidade
Original:
Locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::getloc
basic_regex::imbue
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::swap
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex constants
Funções não-membros
Original:
Non-member Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Definido no cabeçalho <regex>
staticconstexprstd::regex_constants::syntax_option_type icase =

    std::regex_constants::icase;
staticconstexprstd::regex_constants::syntax_option_type nosubs =
    std::regex_constants::nosubs;
staticconstexprstd::regex_constants::syntax_option_type optimize =
    std::regex_constants::optimize;
staticconstexprstd::regex_constants::syntax_option_type collate =
    std::regex_constants::collate;
staticconstexprstd::regex_constants::syntax_option_type ECMAScript =
    std::regex_constants::ECMAScript;
staticconstexprstd::regex_constants::syntax_option_type basic =
    std::regex_constants::basic;
staticconstexprstd::regex_constants::syntax_option_type extended =
    std::regex_constants::extended;
staticconstexprstd::regex_constants::syntax_option_type awk =
    std::regex_constants::awk;
staticconstexprstd::regex_constants::syntax_option_type grep =
    std::regex_constants::grep;
staticconstexprstd::regex_constants::syntax_option_type egrep =

    std::regex_constants::egrep;
std::basic_regex define várias constantes que regem a sintaxe de correspondência geral regex.
Original:
std::basic_regex defines several constants that govern general regex matching syntax.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Essas constantes são duplicados a partir std::regex_constants:
Original:
These constants are duplicated from std::regex_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 Character matching should be performed without regard to case.
nosubs When performing matches, no sub-expression matches should be stored in the supplied std::regex_match structure.
optimize Instructs the regular expression engine to make matching faster, with the potential cost of making construction slower. For example, this might mean converting a non-deterministic FSA to a deterministic FSA.
collate Character ranges of the form "[a-b]" will be locale sensitive.
ECMAScript Use the ECMAScript (JavaScript) regular expression grammar (ECMA-262 grammar documentation), modified to support collating elements, character classes, and equivalence classes from POSIX, and the character class aliases \d, \D, \s, \S, \w, and \W are made locale-sensitive
basic Use the basic POSIX regular expression grammar (grammar documentation).
extended Use the extended POSIX regular expression grammar (grammar documentation).
awk Use the regular expression grammar used by the awk utility in POSIX (grammar documentation)
grep Use the regular expression grammar used by the grep utility in POSIX. This is effectively the same as the basic option with the addition of newline '\n' as an alternation separator.
egrep Use the regular expression grammar used by the grep utility, with the -E option, in POSIX. This is effectively the same as the extended option with the addition of newline '\n' as an alternation separator in addtion to '|'.

[editar]Veja também

opções gerais controlar o comportamento regex
Original:
general options controlling regex behavior
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef)[edit]
close