◐ Shell
clean mode source ↗

std::regex_constants::error_type — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<regex>

typedef /*implementation defined*/ error_type;

(depuis C++11)

static constexpr error_type error_collate = /*unspecified*/; static constexpr error_type error_ctype = /*unspecified*/; static constexpr error_type error_escape = /*unspecified*/; static constexpr error_type error_backref = /*unspecified*/; static constexpr error_type error_brack = /*unspecified*/; static constexpr error_type error_paren = /*unspecified*/; static constexpr error_type error_brace = /*unspecified*/; static constexpr error_type error_badbrace = /*unspecified*/; static constexpr error_type error_range = /*unspecified*/; static constexpr error_type error_space = /*unspecified*/; static constexpr error_type error_badrepeat = /*unspecified*/; static constexpr error_type error_complexity = /*unspecified*/; static constexpr error_type error_stack = /*unspecified*/;

(depuis C++11)

Le error_type est un type qui décrit les erreurs qui peuvent survenir lors de l'analyse d'expressions régulières .

Original:

The error_type is a type that describes errors that may occur during regular expression parsing.

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

Constante

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
error_collate

l'expression contient un nom d'élément non valide assemblage

Original:

the expression contains an invalid collating element name

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

error_ctype

l'expression contient un caractère non valide nom de classe

Original:

the expression contains an invalid character class name

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

error_escape

l'expression contient un caractère non valide échappé ou une escapade de fin

Original:

the expression contains an invalid escaped character or a trailing escape

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

error_backref

l'expression contient une référence de retour non valide

Original:

the expression contains an invalid back reference

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

error_brack

l'expression contient ne correspondent pas entre crochets ('[' et ']')

Original:

the expression contains mismatched square brackets ('[' and ']')

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

error_paren

l'expression contient des parenthèses correspondent pas ('(' et ')')

Original:

the expression contains mismatched parentheses ('(' and ')')

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

error_brace

l'expression contient ne correspondent pas entre accolades ('{' et '}')

Original:

the expression contains mismatched curly braces ('{' and '}')

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

error_badbrace

l'expression contient une plage non valide dans une expression {}

Original:

the expression contains an invalid range in a {} expression

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

error_range

l'expression contient une gamme caractère non valide (par exemple [ba])

Original:

the expression contains an invalid character range (e.g. [b-a])

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

error_space

il n'y avait pas assez de mémoire pour convertir l'expression en une machine à états finis

Original:

there was not enough memory to convert the expression into a finite state machine

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

error_badrepeat

l'un des *? {+ n'a pas été précédée par une expression régulière valide

Original:

one of *?+{ was not preceded by a valid regular expression

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

error_complexity

la complexité d'un match de tentative de dépassement d'un niveau prédéfini

Original:

the complexity of an attempted match exceeded a predefined level

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

error_stack

il n'y avait pas assez de mémoire pour effectuer une correspondance

Original:

there was not enough memory to perform a match

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

Voir aussi

signale les erreurs générées par la bibliothèque d'expressions régulières

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]