Regular expressions library
Da cppreference.com.
< cpp
![]() | 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. |
La libreria di espressioni regolari fornisce una classe che rappresenta espressioni regolari, che sono una sorta di mini-linguaggio utilizzato per eseguire il pattern matching all'interno delle stringhe.
Original:
The regular expressions library provides a class that represents espressioni regolari, which are a kind of mini-language used to perform pattern matching within strings.
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.
Anche fornito nella libreria espressioni regolari sono classi di utilità che forniscono il supporto per vari algoritmi, iteratori, eccezioni, e tratti di tipo.
Original:
Also provided in the regular expressions library are utility classes that provide support for various algorithms, iterators, exceptions, and type traits.
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.
Indice |
[modifica]Classi principali
Queste classi incapsulano una espressione regolare e i risultati di corrispondenza di un'espressione regolare all'interno di una sequenza bersaglio di caratteri.
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.
You can help to correct and verify the translation. Click here for instructions.
(C++11) | Espressione oggetto regolare 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. (classe template) |
(C++11) | identifica la sequenza di caratteri a cui corrisponde una sotto-espressione 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. (classe template) |
(C++11) | identifica una partita di espressione regolare, inclusi tutti i sub-espressione partite 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. (classe template) |
[modifica]Algoritmi
Queste funzioni sono utilizzate per applicare l'espressione regolare incapsulato in una regex per una sequenza bersaglio di caratteri..
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.
You can help to correct and verify the translation. Click here for instructions.
(C++11) | tentativi di corrispondono a un'espressione regolare per l'intera sequenza di caratteri 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. (funzione di modello) |
(C++11) | tentativi di corrispondono a un'espressione regolare a qualsiasi parte la sequenza di caratteri 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. (funzione di modello) |
(C++11) | replaces occurrences of a regular expression with formatted replacement text (funzione di modello) |
[modifica]Iteratori
Gli iteratori regex sono usati per attraversare l'intero insieme di corrispondenze di espressioni regolari si trovano all'interno di una sequenza.
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.
You can help to correct and verify the translation. Click here for instructions.
(C++11) | scorre tutte le partite regex all'interno di una sequenza di caratteri 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. (classe template) |
(C++11) | scorre specificato sottoespressioni all'interno tutte le partite regex in una data stringa o attraverso sottostringhe senza eguali 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. (classe template) |
[modifica]Eccezioni
Questa classe definisce il tipo di oggetti lanciati come eccezioni per segnalare errori dalla libreria espressioni regolari.
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.
You can help to correct and verify the translation. Click here for instructions.
(C++11) | segnala gli errori generati dalla libreria espressioni regolari 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) |
[modifica]Tratti
La classe regex caratteri viene utilizzato per incapsulare gli aspetti localizzabili di una 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.
You can help to correct and verify the translation. Click here for instructions.
(C++11) | fornisce metainformazioni su un tipo di carattere, richiesto dalla 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. (classe template) |
[modifica]Costanti
Defined in namespace std::regex_constants | |
(C++11) | Opzioni generali di controllo del comportamento delle 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) |
(C++11) | soluzioni specifiche per corrispondenza 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) |
(C++11) | descrive diversi tipi di errori corrispondenti 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) |