std::regex_constants::match_flag_type
De cppreference.com
[] |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Dclar dans l'en-tte <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*/; |
||
Spcifie les options supplmentaires rgulires assorties d'expression. Il s'agit d'un
BitmaskType, les constantes suivantes sont dfinies: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.
You can help to correct and verify the translation. Click here for instructions.
Remarque:
[first, last) se rfre la squence de caractres tant apparis .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.
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 |
match_not_bol
|
Le premier caractre de [first, last) sera traite comme si elle est 'pas' au dbut d'une ligne (c.-- ^ ne correspondent pas [, premire)
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
|
Le dernier caractre de [first, last) sera traite comme si elle est 'pas' la fin d'une ligne (c'est dire $ ne correspondent pas [dernier, dernier)
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" ne correspondent pas [, premire) .
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" ne correspondent pas [dernier, dernier) .
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
|
Si plus d'une correspondance est possible, alors n'importe quel match est un rsultat acceptable .
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
|
Ne correspond pas squences vides .
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
|
Seulement avec une sous-squence qui commence au premier'
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
|
- Premire est une position itrateur valide. Lorsqu'elle est active, provoque' match_not_bol et match_not_bow' pour tre ignor .
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
|
Utilisez les rgles ECMAScript pour construire des chanes de 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
|
Utilisez POSIX sed' utilit des rgles en 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
|
Ne copiez pas non apparis chanes la sortie de 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
|
Si vous devez remplacer le premier match 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. |