◐ Shell
clean mode source ↗

std::regex_constants::match_flag_type - 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>

typedef /*unspecified*/ match_flag_type; static constexpr match_flag_type match_default = 0 static constexpr match_flag_type match_not_bol = /*unspecified*/; static constexpr match_flag_type match_not_eol = /*unspecified*/; static constexpr match_flag_type match_not_bow = /*unspecified*/; static constexpr match_flag_type match_not_eow = /*unspecified*/; static constexpr match_flag_type match_any = /*unspecified*/; static constexpr match_flag_type match_not_null = /*unspecified*/; static constexpr match_flag_type match_continuous = /*unspecified*/; static constexpr match_flag_type match_prev_avail = /*unspecified*/; static constexpr match_flag_type format_default = 0; static constexpr match_flag_type format_sed = /*unspecified*/; static constexpr match_flag_type format_no_copy = /*unspecified*/; static constexpr match_flag_type format_first_only = /*unspecified*/;

Consente di specificare ulteriori opzioni di corrispondenza regolare espressione. È un BitmaskType, le costanti sono:

Original:

Specifies additional regular expression matching options. It is a BitmaskType, the following constants are defined:

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

Nota: [first, last) si riferisce alla sequenza di caratteri si allinea.

Original:

Note: [first, last) refers to the character sequence being matched.

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

Constant

Original:

Constant

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

Explanation
match_not_bol

Il primo carattere [first, last) saranno trattate come se fosse 'non' all'inizio di una riga (cioè ^ non corrisponderà [, primo)

Original:

The first character in [first,last) will be treated as if it is not at the beginning of a line (i.e. ^ will not match [first,first)

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

match_not_eol

L'ultimo carattere in [first, last) saranno trattate come se fosse 'non' alla fine di una riga (cioè $ non corrisponderà [ultimo, last)

Original:

The last character in [first,last) will be treated as if it is not at the end of a line (i.e. $ will not match [last,last)

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

match_not_bow

"\ B" non corrispondono [, primo) .

Original:

"\b" will not match [first,first).

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

match_not_eow

"\ B" non corrispondono [ultimo, last) .

Original:

"\b" will not match [last,last).

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

match_any

Se più di una corrispondenza è possibile, quindi ogni partita è un risultato accettabile .

Original:

If more than one match is possible, then any match is an acceptable result.

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

match_not_null

Non corrispondono sequenze vuote .

Original:

Do not match empty sequences.

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

match_continuous

Solo corrispondere a un sotto-sequenza che inizia a' prima

Original:

Only match a sub-sequence that begins at first

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

match_prev_avail

- Prima è una posizione iteratore valido. Quando è impostato, provoca match_not_bol' e' match_not_bow essere ignorato .

Original:

--first is a valid iterator position. When set, causes match_not_bol and match_not_bow to be ignored.

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

format_default

Utilizzare le regole ECMAScript per costruire stringhe in std::regex_replace (syntax documentation)

Original:

Use ECMAScript rules to construct strings in std::regex_replace (syntax documentation)

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

format_sed

Utilizzare POSIX sed' utilità regole std::regex_replace. (syntax documentation)

Original:

Use POSIX sed utility rules in std::regex_replace. (syntax documentation)

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

format_no_copy

Non copiare un-matched stringhe per l'uscita in std::regex_replace .

Original:

Do not copy un-matched strings to the output in std::regex_replace.

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

format_first_only

Sostituire solo la prima partita in std::regex_replace

Original:

Only replace the first match in std::regex_replace

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