std::basic_regex
Aus 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. |
definiert in Header <regex>
|
||
template < class CharT = char, |
(seit C++11) | |
Das Klassen-Template
basic_regex
bietet einen allgemeinen Rahmen zur Aufnahme regulärer Ausdrücke . 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.
You can help to correct and verify the translation. Click here for instructions.
Mehrere Spezialisierungen für gemeinsame Charakter-Typen stehen zur Verfügung:
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.
You can help to correct and verify the translation. Click here for instructions.
Defined in header
<regex> | |
Type
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> |
Mitglied Typen
Mitglied Typ
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 |
Member-Funktionen
Original: Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Original: Locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Original: Modifiers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Original: Constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Value
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 | ignoriert Fall, wenn übereinstimmenden Zeichen
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 | speichert keine sub-Ausdruck übereinstimmt
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 | schnellere Anpassung, langsamer Aufbau
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 | macht Wertebereichsausdrücke locale-sensitive
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 | verwendet ein ECMA-262 (Perl 5) Syntax
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 | verwendet eine POSIX grundlegende Syntax für reguläre Ausdrücke
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 | verwendet eine POSIX erweiterte Syntax für reguläre Ausdrücke
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 | verwendet eine awk-kompatiblen Syntax
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 | verwendet eine grep-kompatiblen Syntax
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 | verwendet eine erweiterten grep-kompatiblen Syntax
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. |