◐ Shell
clean mode source ↗

std::basic_regex - 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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<regex>

template < class CharT = char, class Traits = std::regex_traits<CharT> > class basic_regex;

(dal C++11)

Il basic_regex modello di classe fornisce un quadro generale per lo svolgimento di espressioni regolari.

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.

Diverse specializzazioni per i tipi di caratteri comuni sono:

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.

Definizione nell'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>

Membri tipi

Membro tipo

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

Membri funzioni

constructs the regex object
(metodo pubblico) [modifica]

distrugge l'oggetto 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.


(metodo pubblico) [modifica]

assegna il contenuto

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.


(metodo pubblico) [modifica]

assegna il contenuto

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.


(metodo pubblico) [modifica]

Osservatori

Original:

Observers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

restituisce il numero di marcata sottoespressioni all'interno dell'espressione regolare

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.


(metodo pubblico) [modifica]
returns the syntax flags
(metodo pubblico) [modifica]

Locale

Original:

Locale

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ottenere informazioni di locale

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.


(metodo pubblico) [modifica]

impostare informazioni di locale

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.


(metodo pubblico) [modifica]

Modificatori

Original:

Modifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

swap il contenuto

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.


(metodo pubblico) [modifica]

Costanti

Original:

Constants

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valore

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 in cui i caratteri corrispondenti

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

non conservare sub-espressione partite

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

corrispondenza più veloce, più lento di costruzione

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

espressioni di intervallo rende dipendenti dalle impostazioni internazionali

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

utilizza un ECMA-262 (Perl 5) sintassi

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 una sintassi di base delle espressioni regolari POSIX

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

utilizza un esteso sintassi delle espressioni regolari POSIX

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

utilizza un' awk sintassi compatibile

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

utilizza un grep sintassi compatibile

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

utilizza un grep esteso' sintassi compatibile

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.

Non membri funzioni

specializzata l'algoritmo 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.


(funzione di modello) [modifica]