Espaços nominais
Variantes
Acções

Biblioteca de expressão regular

Da cppreference.com
< cpp


 
 
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)
 

A biblioteca de expressão regular fornece uma classe que representa expressões regulares, uma espécie de mini-linguagem utilizada para encontrar um padrão em uma string. Também são fornecido na biblioteca de expressão regular classes utilitárias que suportam vários algoritmos, iteradores, exceções e caracterização de tipos.

Índice

[editar] Principais classes

Essas classes encapsulam uma expressão regular e os resultados de correspondência de uma expressão regular dentro de uma sequência alvo de caracteres.
Original:
These classes encapsulate a regular expression and the results of matching a regular expression within a target sequence of characters.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
objeto de expressão regular
Original:
regular expression object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de classe) [edit]
(C++11)
identifica a seqüência de caracteres combinados por uma expressão de sub-
Original:
identifies the sequence of characters matched by a sub-expression
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de classe) [edit]
identifica uma correspondência de expressão regular, incluindo todos os jogos sub-expressão
Original:
identifies one regular expression match, including all 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.

(modelo de classe) [edit]

[editar] Algoritmos

Estas funções são utilizadas para aplicar a expressão regular encapsuladas em um regex para uma sequência alvo de caracteres..
Original:
These functions are used to apply the regular expression encapsulated in a regex to a target sequence of characters..
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tentativas de correspondem a uma expressão regular para a seqüência de caracteres inteiro
Original:
attempts to match a regular expression to the entire character sequence
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) [edit]
tentativas de correspondem a uma expressão regular para qualquer parte da seqüência de caracteres
Original:
attempts to match a regular expression to any part of the character sequence
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) [edit]
replaces occurrences of a regular expression with formatted replacement text
(modelo de função) [edit]

[editar] Iteradores

Os iteradores regex são usados ​​para percorrer todo o conjunto de correspondências de expressões regulares encontrados dentro de uma seqüência.
Original:
The regex iterators are used to traverse the entire set of regular expression matches found within a sequence.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
percorre todos os jogos regex dentro de uma seqüência de caracteres
Original:
iterates through all regex matches within a character sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de classe) [edit]
percorre o especificado sub-expressões dentro de todas as partidas regex em uma dada cadeia ou por meio de substrings incomparáveis
Original:
iterates through the specified sub-expressions within all regex matches in a given string or through unmatched substrings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de classe) [edit]

[editar] Exceções

Esta classe define o tipo de objetos lançados como exceções para relatar erros da biblioteca de expressões regulares.
Original:
This class defines the type of objects thrown as exceptions to report errors from the regular expressions library.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
relatórios de erros gerados pela biblioteca de expressões regulares
Original:
reports errors generated by the regular expressions library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe) [edit]

[editar] Características

A regex classe características é usado para encapsular os aspectos localizáveis ​​de um regex.
Original:
The regex traits class is used to encapsulate the localizable aspects of a regex.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
metainformation fornece cerca de um tipo de personagem, exigido pela biblioteca regex
Original:
provides metainformation about a character type, required by the regex library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(modelo de classe) [edit]

[editar] Constantes

Defined in namespace std::regex_constants
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]
opções específicas para correspondência
Original:
options specific to matching
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]
descreve diferentes tipos de erros correspondentes
Original:
describes different types of matching errors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]